v1nutrition
Extract detailed nutritional information from food descriptions. Retrieve calories, vitamins, and macros by entering natural language queries about meals.
Instructions
API Ninjas Nutrition API endpoint.
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": {
"query": "<query>"
},
"name": "v1nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query text to extract nutrition information (e.g. bacon and 3 eggs). |