strapi_update_entry
Update Strapi entries by documentId or id using the REST API. Include entry attributes and optional query parameters to modify content.
Instructions
Update a Strapi entry by documentId in Strapi 5 or id in Strapi 4 using the REST API.
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": {
"contentType": "<contentType>",
"documentIdOrId": "<documentIdOrId>",
"data": "<data>"
},
"name": "strapi_update_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Entry attributes to send inside Strapi's { data } envelope. | |
| queryJson | No | Optional JSON object string using Strapi REST query syntax, for example {"populate":"*","pagination":{"pageSize":10}}. | |
| contentType | Yes | Strapi REST API ID, usually the plural API ID, for example articles or product-categories. | |
| documentIdOrId | Yes |