Update Content by Path
update_content_by_pathChange page content by URL path instead of MongoDB ID—ideal when you know the web address but not its database identifier.
Instructions
Update content identified by its URL path instead of its ID. Useful when you know the page URL but not the MongoDB ID.
Example: {"path": "/about", "title": "About Us", "data": {"body": "Updated content"}}
The path always resolves to the live page, never to a fork copy (inside an agent sandbox the write goes to the sandbox copy as usual).
Only the fields you provide are changed. Always include a version_comment describing what changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Field values to update | |
| hold | No | true puts the page on hold so it cannot be published; false clears the hold. Holding a published page does not unpublish it | |
| path | Yes | URL path of the content to update (e.g. /about or /blog/my-post),required | |
| tags | No | Tags for lc:query index pages | |
| title | No | New title | |
| noindex | No | true hides the page from search engines and AI; false makes it visible again | |
| category | No | Content category | |
| og_image | No | Open Graph image URL | |
| published | No | Publish state | |
| author_url | No | Author profile URL; empty string clears it | |
| author_name | No | Author name for structured data and feeds; empty string reverts to the site default | |
| version_comment | No | Version comment | |
| meta_description | No | SEO meta description |