media_get_stats
Retrieve media library statistics for a WordPress site, including attachments by state, bytes saved, and backup summary.
Instructions
Library statistics: attachments by state, bytes saved, and the backup summary.
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": {
"site": "<site>"
},
"name": "media_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) |