Edit page
edit_pageChange a page yourself: replace its Markdown, or make exact find-and-replace edits, and edit its title, goal, reader or angle. Pass base_version from get_page; a stale version is refused so you don't overwrite a teammate. A live page is locked: revise_page first. Free.
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": {
"brand": "<brand>",
"idempotency_key": "<idempotency_key>",
"page_id": "<page_id>"
},
"name": "edit_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| angle | No | ||
| brand | Yes | Brand or study: its ID from list_brands, or its exact name. A partial name is refused. | |
| edits | No | Or exact edits, applied in order. | |
| title | No | ||
| reader | No | ||
| reason | No | Why you changed it, kept in the page's history. | |
| page_id | Yes | Page ID from list_pages. | |
| markdown | No | The whole page as Markdown. | |
| base_version | No | The version from get_page. Needed with markdown or edits. | |
| idempotency_key | Yes | A unique key for this intended action. Reuse it with identical arguments when retrying: the write is not made again, and the reply is the first call's resource as saved (replayed: true) with current status; read tools show the resource's current state. Use a new key for another action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| generated_at | Yes | RFC 3339 time the response was made. | |
| schema_version | Yes |