Count media
wp_count_mediaCount the items in the Media Library, optionally within a date range.
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": "wp_count_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No |