Test a webhook tool
test_toolSend a real HTTP request to a tool's address with sample values, so you can check it actually works before relying on it in a call. Pass EITHER toolId (an already-saved tool from list_tools, tested with its real, unmasked headers) OR an inline definition (url, method and optionally headers/params/timeoutSecs, same shape as create_tool minus label/description - a not-yet-saved tool, tested exactly as typed) - never both. Capped at 10 attempts per minute per account across both forms (protects against using volai to flood someone else's server); over that this fails with rate_limited before the request is even attempted. A redirect response is never followed (note explains why); a 4xx/5xx status is not itself an error of this tool - status, durationMs, body (first 2000 characters) and note come back either way, so you can see exactly what the endpoint did. Same data as POST /v1/tools/test and POST /v1/tools/{id}/test (API reference: https://volai.cz/en/docs/api; response schema: https://volai.cz/openapi.json).
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": "test_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Address to call for an inline (not-yet-saved) test, must be https and must not point into an internal network. Required together with method when toolId is omitted. | |
| method | No | HTTP method for an inline test: GET or POST. Required together with url when toolId is omitted. | |
| params | No | Parameters for an inline test, at most 10, same shape as create_tool. Ignored when toolId is set. | |
| toolId | No | ID of an already-saved tool (tl_...) to test with its real, unmasked headers. Mutually exclusive with url/method/headers/params/timeoutSecs. | |
| headers | No | Header name to value for an inline test, at most 5. Ignored when toolId is set (the saved tool's own headers are used). | |
| timeoutSecs | No | Only validated (5 to 30), NOT applied to the test itself: a test always waits a fixed 10 seconds, so the caller doesn't sit through a full runtime timeout. It's the value the tool would use at runtime once saved - ignored here in both forms (inline and toolId). |