Get Mock Usage
get_mock_usageRead the organization's mock request usage against its plan limit. view 'current' (default) returns the running month with the limit and reset date, 'history' the monthly totals, 'breakdown' the current month split by project.
Instructions
Read the organization's mock request usage against its plan limit. view 'current' (default) returns the running month with the limit and reset date, 'history' the monthly totals, 'breakdown' the current month split by project. This is what to check when mock requests start being rejected. Use this for request usage against the plan limit; for the individual requests use get_request_logs. Requires organization context.
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_mock_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | What to read: 'current' (default), 'history' or 'breakdown' | current |
| months | No | For view 'history': how many months back. Defaults to 6. |