pub const MAX_BODY_BYTES: usize = _ /* 16_777_216usize */;Expand description
The one effective request-body limit. It drives both the declared-length precheck and the SDK’s streaming read limit, and at the default concurrency bounds buffered request bodies to 32 x 16 MiB = 512 MiB (bodies are only read after admission). Over HTTP this, not EditFiles’ larger aggregate content cap, bounds a tool call; the SDK default it replaces was 4 MiB.