grocy_objects_update
Update a specific Grocy object by entity and object ID. Omit confirm to preview changes as a dry run before executing the write.
Instructions
Edit one Grocy object. PUT /api/objects/{entity}/{objectId}. Omit confirm for a dry-run.
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": {
"entity": "<entity>",
"object_id": "<object_id>",
"fields": "<fields>"
},
"name": "grocy_objects_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Grocy entity to edit. | |
| fields | Yes | JSON object fields for the Grocy entity. Password and key values are redacted in output. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| object_id | Yes | Object id. |