grocy_objects_delete
Delete a specific object from any Grocy entity by ID. Omit confirm to preview a dry-run before making the change permanent.
Instructions
Delete one Grocy object. DELETE /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>"
},
"name": "grocy_objects_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Grocy entity to delete from. | |
| 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. |