preview_edit
Preview page edits without altering content. Inspect the complete revised page before finalizing changes.
Instructions
Preview an explicitly requested edit without changing the page. First call read_page and use its top-level page ID and lines[].id values. Inspect the returned complete post-edit page before calling submit_edit.
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": {
"project_url": "<project_url>",
"page_id": "<page_id>",
"operations": "<operations>"
},
"name": "preview_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| operations | Yes | ||
| project_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| warnings | No |