List sites
list-sitesLists your WordPress sites with their status, the time of their latest report, WordPress and PHP versions, plugin counts, pending plugin updates and site settings. Filter by environment type, or by whether WordPress allows file modifications. A site with file_mods_allowed false cannot install or update plugins, themes or WordPress. The get-site tool returns the plugins, themes and collections of one site.
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": "list-sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment_type | No | Only sites whose latest report has this WordPress environment type. | |
| file_mods_allowed | No | False lists only sites where DISALLOW_FILE_MODS stops installs and updates. True lists only sites that allow them. Sites whose report has no value match neither. |