Skip to main content

validate_arguments

Function validate_arguments 

Source
pub fn validate_arguments(
    card: &AgentCard,
    name: &str,
    arguments: &Value,
) -> Result<(), String>
Expand description

§13bis: validate an MCP call’s arguments against the card’s declared input schema — JSON-schema-lite: required fields must be present with non-null values, and type is checked when declared.