pub fn type_mismatch(field: &str, value: &Value, expected: &str) -> ToolErrorExpand description
The one error every type mismatch on a tool parameter produces.
Names the parameter, the type that arrived, and the type the schema declares, plus the offending value — everything the caller needs to fix the call on the next turn without another round trip.