Order a WordPress site
create_wordpressOrder a WordPress site: a fresh install (mode new) or a server ready to receive an existing WordPress site (mode move). No upload and no pre-flight: the platform installs WordPress itself. Returns actionId and approveUrl (also mailed to the person; one hour): they see the order and pay with one click; nothing is charged without it. domain works as for a new project. Once paid, a new site installs and goes live by itself; a move server waits for the person to move the old site with the migration details. A partner account can instead have the client pay for a new site: payer client with clientEmail; the client gets a signup and payment link by mail and pays the regular price in their own account, and the answer carries inviteId. An active partner with servers for client sites (services of kind host) can put the new site on one: hostId with the host's id puts it there for the site fee alone (the answer's mode is on-host and names the server's fit), hostId new buys a server of its own; left out, the site goes where the website's order form would put it. A full server refuses.
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": {
"name": "<name>",
"mode": "<mode>"
},
"name": "create_wordpress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | new: a fresh WordPress; move: a server ready to receive an existing WordPress site the person moves here with our plugin | |
| name | Yes | the site name shown on the dashboard | |
| payer | No | who pays for a new site: self (default, the person approves and pays) or client (a partner sends the client a signup and payment link; mode new only) | |
| domain | No | a full name: one found available (offered on the approval page, added with one click, never charged without it), or one the account already holds (heldDomains), which rides the order for free and points at the new server after its first deploy | |
| hostId | No | partner hosts only: the id of one of the account's services of kind host, or new for a server of its own; left out, the best-fitting host with room, else a new server | |
| mailboxes | No | optional: the mailbox names at the site's domain the person chose, up to five, such as info or sales; [] for none; left out, info is set up | |
| clientEmail | No | payer client only: the client's address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |