Check remaining screenshot credits
get_webshot_usageReport how many Webshot credits the caller has left and when more become available. Without a key this is the shared per-IP allowance (5 credits per 15 minutes, refilling one credit at a time); with an Authorization: Bearer key it is that plan's monthly quota and per-minute limit. Call it before a batch of captures, or after a rate-limit error to learn how long to wait. It takes no arguments, costs nothing and changes nothing.
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_webshot_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | free (no key) or the key's plan: starter, pro, business or premium. | |
| used | Yes | Credits used in the current window or period. | |
| costs | No | Credit cost per capture type. | |
| limit | Yes | Size of the allowance. null means unlimited. | |
| period | Yes | rolling_15_minutes, billing_cycle or calendar_month. | |
| available | Yes | Credits that can be spent now. null means unlimited. | |
| resets_at | No | ISO 8601 UTC time the quota resets (keyed plans), else null. | |
| next_credit_at | No | ISO 8601 UTC time the next credit arrives (free plan), else null. | |
| per_minute_limit | No | Credits allowed per minute on keyed plans, else null. |