Entity Create Tool
entity_create_toolCreate a new object of any Grocy entity type by supplying the entity name and a JSON data payload. Use this low-level tool when a domain-specific create tool is not available.
Instructions
Create a new object of any Grocy entity type.
This is a low-level tool — prefer the domain-specific create tools (recipe_create_tool, chore_create_tool) when available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON object with fields for the new entity. Required fields vary by entity type. Example for products: '{"name": "Oat Milk"}'. Example for locations: '{"name": "Pantry", "is_freezer": 0}'. | |
| entity | Yes | Entity type name (e.g. 'products', 'locations', 'tasks'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |