parse_ingredient
Convert an ingredient string into structured quantity, unit, and food components. Choose between NLP or regex parser.
Instructions
Parse a single ingredient string into structured quantity/unit/food.
parser is "nlp" (default, CRF model) or "brute" (regex fallback).
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": {
"text": "<text>"
},
"name": "parse_ingredient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| parser | No | nlp |