Create page
create_pageCreate a new draft page in a project. The page is empty and not on the live site until it has sections and is published. If the address is already taken a suffix is added, so read the slug in the result. Pass an idempotencyKey to make a retry safe: the same key, project and address name one page, so a call whose answer was lost can be repeated without making a second page. Without a key, look for the address with list_pages before trying again.
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": {
"projectId": "<projectId>",
"name": "<name>",
"slug": "<slug>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Page name | |
| slug | Yes | The page's address as a path that starts with a slash, e.g. /pricing. A missing leading slash is added. | |
| language | No | Language code | en |
| projectId | Yes | The project ID | |
| idempotencyKey | No | Stable key for a safe retry: the same key replays the first result instead of applying twice. Reuse a key only for a call that got no answer; after any error, read the page again and use a new key. |