Get an API request
get_api_requestUse this when the user wants the details of one past call, such as how it ended or what it cost. Returns the request with its route, status, time, cost and units, the key that made it, the address it came from and, for a charged call, the balance after its charge. Request and response bodies are never kept, so it cannot show what a call sent or returned. Only requests of the last 30 days exist. Free.
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": {
"requestId": "<requestId>"
},
"name": "get_api_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | The request's id, as its X-Request-Id header and the requests list give it. |