Mail statistics
ws_mail_statsGet mail storage usage for a hosting service. Provide a domain to scope figures, or omit for whole service.
Instructions
Mail storage statistics for a hosting service. Supply domain to scope the figures to one domain; omit it for the whole service.
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": {
"hostingId": "<hostingId>"
},
"name": "ws_mail_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Restrict the statistics to this domain. Omit for the whole hosting service. | |
| userId | No | Account id, or the literal "self" for the authenticated account. Defaults to "self". | self |
| hostingId | Yes | Hosting id or uuid the mailbox belongs to. |