Skip to main content

headers_for

Function headers_for 

Source
pub fn headers_for(schema: &Value, arguments: &Value) -> Vec<(String, String)>
Expand description

The Mcp-Param-* headers a client must send for arguments.

One per annotated parameter with a non-null value, encoded per the value rules: strings as-is, integers in decimal, booleans as true/false, and anything that is not safely a plain header value in the Base64 sentinel.