Skip to main content

MAX_FORMATTER_OUTPUT_BYTES

Constant MAX_FORMATTER_OUTPUT_BYTES 

Source
pub const MAX_FORMATTER_OUTPUT_BYTES: usize = _; // 8_388_608usize
Expand description

Bound on a single formatter invocation’s stdout — a hostile or broken configured formatter can’t force unbounded memory growth (same rationale as crate::mcp::MCP_MAX_RESPONSE_BYTES).