wp_list_sites
List WordPress sites in a fleet by filtering on account, environment, or domain query. Returns site IDs and counts for efficient management.
Instructions
List fleet sites (install, account, environment, domain).
Filter by account (hostacct1-6), environment (prod|staging), or query
(case-insensitive substring of install name or domain). Returns ids + count only.
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_list_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| account | No | ||
| environment | No |