Claim guest site into account
claim_guest_siteMoves a published guest site into the signed-in CodePress account as an App, at the same public address. It lands in organization (the slug or id of a workspace the account belongs to) when given; otherwise in this sign-in's default workspace, or the account's primary workspace, and only an account with no workspace gets a new Personal workspace. Authorized by the site's private manage capability; the edit capability is not accepted. expected_generation is the site's current generation. Claiming is free and the claimed site has no expiry. A repeated operation_id returns the same result; repeating it with a different organization is refused. Afterwards guest capabilities no longer change the site and the account's normal App permissions apply; the owner can move it later with App Settings → Transfer app. Returns the App id and name (from the page title), the organization slug and name, the App slug, the App's dashboard URL and the public URL.
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": {
"guest_id": "<guest_id>",
"manage_capability": "<manage_capability>",
"operation_id": "<operation_id>",
"expected_generation": "<expected_generation>"
},
"name": "claim_guest_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guest_id | Yes | ||
| operation_id | Yes | ||
| organization | No | Workspace slug or id to claim into; one the account belongs to. Omit for the default workspace. | |
| manage_capability | Yes | ||
| expected_generation | Yes |