update_entry
Modifies specified fields on an existing Strapi entry as a draft, supporting collection and single types; use publish after to make changes live.
Instructions
Update an existing entry's fields. For collection types, provide the document_id. For single types (Home Page, Global, etc.), omit document_id. Pass only the fields you want to change as a JSON string. Note: updates are saved as drafts — use publish_entry afterward to make changes 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": {
"content_type": "<content_type>",
"data": "<data>"
},
"name": "update_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON string with fields to update | |
| locale | No | Locale code | |
| document_id | No | Document ID (required for collection types) | |
| content_type | Yes | Content type UID |