wp_get_site_info
Returns site information including WordPress version, active theme, active plugins, public post types with archive URLs and rewrite settings, taxonomies, and SEO capabilities. CPT archives are generated routes, not backing pages/posts. Inspect seo_capabilities.targets and the advertised tools before selecting archive SEO tools. If the target is unsupported, use authorized admin forms instead; do not write arbitrary Yoast options. Set include_installation_paths to true only for a user-requested installation-location check. Paths describe the PHP runtime, not a unique site identity or necessarily the public document root.
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_id": "<site_id>"
},
"name": "wp_get_site_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| include_installation_paths | No | Include configured and resolved WordPress root paths. These private hosting details can enter model context and task history. Omitted by default. |