Update content
How does the assistant edit a content I already saved?
dorna_update_content edits one of your contents. Only the fields you send change: title, up-title, sub-title, lead, text and keywords.
- dorna_update_content
- Changes data
- Asks before it runs
Parameters
| Field | Type | Description |
|---|---|---|
contentId | string (ID) | Required. The content to edit. |
title | string | The new title. |
upTitle | string | The new line above the title. |
subTitle | string | The new line under the title. |
lead | string | The new opening paragraph. |
text | string | The new body as HTML. Replaces the whole text. |
keywords | array | The new keywords. Replaces the existing ones. |
projectId | string (ID) | The project's ID, from dorna_projects. |
What it returns
The updated content.
Example
Ask your assistant: Shorten my last reportage to 400 words.
The assistant then calls the tool like this:
{
"name": "dorna_update_content",
"arguments": {
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1"
}
}A typical result looks like this (the values are examples):
{
"contentId": "64f1a2b3c4d5e6f7a8b9c0d1",
"number": 1042,
"title": "Our new payments app is live",
"projectId": "64f1a2b3c4d5e6f7a8b9c0d1",
"words": 540,
"followLinks": 2
}Access and confirmation
Changes or deletes existing data. Your assistant asks you before every call.
A project can be set only on a content that has none. A content attached to an order the outlet has already accepted must not be changed. Your assistant shows the changes before it saves.
Related tools: dorna_contents dorna_add_content_image
Still have a question?
Open this guide in your own AI assistant and ask it.