Execute API template
execute_api_templateExecute an api template live against the given variables and return the full trace: the rendered request (method, url, headers, body) and the response (status, headers, body, duration). Use this to debug a template before wiring it into a workflow. This runs the real outbound request.
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": "execute_api_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | the template slug to execute (provide this or template_id) | |
| version | No | specific version to execute; omit for the published version | |
| variables | No | values bound to the template's variables for this execution | |
| template_id | No | the template id to execute (provide this or slug) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_ms | Yes | ||
| request_url | Yes | ||
| status_code | Yes | ||
| request_body | Yes | ||
| response_body | Yes | ||
| request_method | Yes | ||
| request_headers | Yes | ||
| response_headers | Yes |