preflight_check
Validate a WordPress page is safe to edit by checking existence, Elementor structure, data integrity, global widget references, and editor lock status.
Instructions
Validate a page is safe to edit. Checks: page exists, is Elementor-built, data parses cleanly, references valid global widgets, isn't currently locked by another editor.
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": {
"page_id": "<page_id>"
},
"name": "preflight_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safe_to_edit | Yes | ||
| page_id | Yes | ||
| title | Yes | ||
| issues | Yes | ||
| warnings | Yes | ||
| data_bytes | Yes | ||
| global_widget_references | Yes |