Expand description
Prompt-boundary helpers for MCP-provided metadata.
Constants§
- MAX_
UNTRUSTED_ MCP_ DESCRIPTION_ BYTES - Maximum encoded body size for an MCP tool description shown to a model.
Functions§
- render_
untrusted_ mcp_ description - Render an MCP tool description as bounded, escaped untrusted metadata.