My usage and call log
get_my_usageCheck this connection's usage for the last 1–30 days, including call counts, units, errors, and recent request IDs, so you can review activity or report a problem.
Instructions
Returns this connection's own usage for the last 1 to 30 days (days=1 is today since 00:00 Asia/Taipei): summary (calls, units, errors, by_endpoint) and recent calls (request_id, endpoint, status, units, at), newest first, limit 1 to 100, cursor for the next page. Only this connection's records. Applies when the user asks what this connection did, or a request_id is needed to report a problem.
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": "get_my_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1-30 (default 1 = today) | |
| limit | No | 1-100 (default 50) | |
| cursor | No | next_cursor from the previous result |