grocy_files_put
Uploads a file to a Grocy group such as equipment manuals or product pictures using base64 content. Omit confirm for a dry-run preview before writing.
Instructions
Upload a file as application/octet-stream. PUT /api/files/{group}/{fileName}. content_base64 is the file bytes. 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>",
"content_base64": "<content_base64>"
},
"name": "grocy_files_put"
}
}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 | ||
| content_base64 | Yes |