create_food
Create a food ingredient after searching to avoid duplicates. Use the singular plain noun (e.g., 'Parmesan'), leaving preparation details for the note.
Instructions
Create a new food (ingredient). Search first. Tandoor has no duplicate detection, so a second 'Zwiebel' would sit next to the existing one forever with nothing to flag it. Store the plain noun ('Parmesan'), never a prepared form ('geriebener Parmesan') — preparation belongs in the ingredient's note.
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": {
"name": "<name>"
},
"name": "create_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Singular name | |
| description | No | Optional note | |
| plural_name | No | Plural name, if it differs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |