grocy_userfields_put
Replace custom userfield values for a Grocy object by entity and ID; omit confirm for a dry-run preview.
Instructions
Replace userfield values for one object. PUT /api/userfields/{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_userfields_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity of the object. | |
| fields | Yes | Userfield name to value map. | |
| 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. |