grocy_stock_transaction
List stock booking transactions or undo a specific transaction; undo requires explicit confirmation, with a dry-run preview unless confirmed.
Instructions
Stock transaction. action get lists bookings. undo reverts the transaction and needs confirm.
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": {
"action": "<action>",
"transaction_id": "<transaction_id>"
},
"name": "grocy_stock_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| 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. | |
| transaction_id | Yes |