validate_tool_io
Checks whether a tool's sample output matches an expected type such as object, array, string, number, boolean, or null. Use it to catch output-type mismatches before running workflows.
Instructions
Validates tool output type against expectation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sample_output": "<sample_output>"
},
"name": "validate_tool_io"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample_output | Yes | ||
| expected_output_type | No |