grocy_objects_create
Create one Grocy object for a specified entity using JSON fields; omit confirmation to preview the write as a dry run.
Instructions
Create one Grocy object. POST /api/objects/{entity}. fields is the entity JSON. 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>",
"fields": "<fields>"
},
"name": "grocy_objects_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Grocy entity to create. | |
| 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. |