eds_fix_metadata
Fix page SEO and social metadata by editing its Document Authoring Metadata block. Includes dry-run, undo, and publish options.
Instructions
Fix a page's SEO/social metadata (title, description, Open Graph image) by editing its Document Authoring source. Adds or updates the page's Metadata block idempotently, through the safe-writes path (dry-run + undo). The AGENT supplies the values (e.g. write a good meta description); this tool writes them correctly and reversibly. Requires EDS_DA_TOKEN. Set publish:true to preview+publish so the change goes live.
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": {
"path": "<path>",
"metadata": "<metadata>"
},
"name": "eds_fix_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Site-relative page path to fix (e.g. /blog/post) | |
| dryRun | No | Preview the before/after without writing (recommended first pass) | |
| publish | No | Preview + publish the page after writing so the change goes live | |
| metadata | Yes | Metadata fields to set (only the ones provided are changed) | |
| withUndo | No | Make the write reversible — returns an undo object for eds_da_rollback |