scan_input
Validate input arguments against a JSON schema to confirm agent call validity. Returns valid/invalid status with error details.
Instructions
Validate an args dict against a JSON schema; return OK or first error.
Use when: "is my agent's call valid before I send it?". Example: args={"q":"hi"}, schema={"type":"object","properties":{"q":{"type":"string"}}}.
Returns {"valid": true} or {"valid": false, "error": "..."}.
Never raises — the tool surfaces validation results as data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| schema | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |