api_test
Validate and debug API calling code by simulating responses, returning custom errors or echoing input parameters.
Instructions
Check API calling code. Helps test your calling code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "api_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| foo | No | Example property to return in the response (echoed back as ``args.foo``). | |
| error | No | Error response to return. If set, the call responds with an error of this value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||