Switch a WordPress site's main address
set_wordpress_primary_domainprimary=true makes the site's domain its main address (WordPress rewrites its address, the kenjtec.ai address then leads there); primary=false goes back to the kenjtec.ai address. Works once the domain answers.
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": {
"wordpress_site_id": "<wordpress_site_id>",
"primary": "<primary>"
},
"name": "set_wordpress_primary_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primary | Yes | True makes this the site's main address; the others then redirect to it. | |
| wordpress_site_id | Yes | The WordPress site id from list_wordpress_sites. |