Get API Usage
get_api_usageReturns the API request quota of the signed-in Mailpro account for the current period: limit, requests used, requests remaining. Every tool call counts against this quota. It does not report emails or SMS sent; use the campaign tools for sending figures.
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_api_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free_account | Yes | True for a free account. | |
| api_requests_used | Yes | API requests used so far. | |
| api_requests_limit | Yes | API requests allowed for the current period. | |
| free_sends_remaining | Yes | Free sends remaining. Only meaningful when free_account is true; 0 otherwise. | |
| api_requests_remaining | Yes | API requests remaining. |