get_request_trace
Everything about ONE request in a single call: its own status/latency/payload, plus every Function invocation it triggered, in order, with each one's status, error text, and captured print() output. This is the tool for 'a request failed, was it my code' — pass the requestId you already have (from a client error, a support ticket, or list_logs) and get the whole story back at once.
request is the client's own top-level request. When a Function calls the project's API during it, those internal calls share the requestId and are listed in subRequests (oldest first, each with internal: true and parentRequestId), never as request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request_id": "<request_id>"
},
"name": "get_request_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Optional if whoami returned a default_project_id. | |
| request_id | Yes |