Agent test tool
Agent Tool Call Tester
Check an agent’s proposed tool call against a JSON Schema and locate invalid arguments before execution.
Tool area
Everything runs in the browser.
Reference results
{
"name": "roomSearch",
"description": "Search rooms by capacity and language",
"inputSchema": {
"type": "object",
"properties": {
"seats": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"locale": {
"enum": [
"it",
"en",
"fr"
]
}
},
"required": [
"seats",
"locale"
],
"additionalProperties": false
}
}| Input | Result |
|---|---|
{"seats":4,"locale":"it"} | Valid |
{"seats":10,"locale":"fr"} | Valid |
{"seats":0,"locale":"en"} | Invalid
/seats must be >= 1 |
{"seats":"5","locale":"it"} | Invalid
/seats must be integer |
{"seats":2} | Invalid
/ must have required property 'locale' |
{"seats":2,"locale":"es"} | Invalid
/locale must be equal to one of the allowed values |
How it works
The tester reads a tool definition and proposed arguments. It applies the types, required properties and bounds specified by the definition to the JSON object. The report describes argument validation while leaving execution outside the test.
Worked examples
- A developer checks a locale field for a catalogue search and decides whether to document it as mandatory.
- A maintainer exercises the result limit and adds a case at the upper bound.
- A tester spots a string in a numeric field and fixes the code building the argument object.
Common mistakes
- Confusing valid JSON syntax with valid arguments.
- Pasting secrets copied from a real trace.
- Treating a schema pass as proof of authorisation.
FAQ
Which definitions can I use?
Use an MCP definition with inputSchema or a function definition with parameters.
What does the table measure?
Each row shows validation for one example argument object.
Does the test run the search?
The call remains an argument object for validation.
