Skip to main content

INVALID_PARAMS

Constant INVALID_PARAMS 

Source
pub const INVALID_PARAMS: i64 = -32602;
Expand description

JSON-RPC 2.0 spec code: the method exists but the parameters are invalid. Currently unsent — a missing tool argument is reported as a ToolCallResult::error instead, so the model sees it and can retry with the argument filled in.