Get Fruit
get_fruitGet nutritional facts for a specific fruit. Returns calories, protein, fat, carbs, sugar, and fiber per 100g (e.g., 'apple', 'banana').
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "banana"
},
"name": "get_fruit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the fruit (e.g., "banana", "apple", "mango"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the fruit | |
| name | Yes | Name of the fruit | |
| genus | Yes | Genus classification | |
| order | Yes | Order classification | |
| family | Yes | Plant family classification | |
| nutritions | Yes |