grocy_files_delete
Deletes a file from a specified Grocy file group via the API. Omit the confirm flag to preview the deletion as a dry run.
Instructions
Delete a file. DELETE /api/files/{group}/{fileName}. 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": {
"group": "<group>",
"file_name": "<file_name>"
},
"name": "grocy_files_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | 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. | |
| file_name | Yes |