list_fruits

Pack: fruityvice · Endpoint: https://gateway.pipeworx.io/fruityvice/mcp

List all available fruits with their nutritional profiles. Returns name, calories, protein, fat, carbs, sugar, and fiber for each.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/fruityvice/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_fruits","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_fruits', {});

Response shape

Always returns: count, fruits

FieldTypeDescription
countnumberTotal number of fruits in the list
fruitsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Total number of fruits in the list"
    },
    "fruits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "Unique identifier for the fruit"
          },
          "name": {
            "type": "string",
            "description": "Name of the fruit"
          },
          "family": {
            "type": "string",
            "description": "Plant family classification"
          },
          "genus": {
            "type": "string",
            "description": "Genus classification"
          },
          "order": {
            "type": "string",
            "description": "Order classification"
          },
          "nutritions": {
            "type": "object",
            "properties": {
              "calories": {
                "type": "number",
                "description": "Calories per 100g"
              },
              "fat": {
                "type": "number",
                "description": "Fat content per 100g in grams"
              },
              "sugar": {
                "type": "number",
                "description": "Sugar content per 100g in grams"
              },
              "carbohydrates": {
                "type": "number",
                "description": "Carbohydrates per 100g in grams"
              },
              "protein": {
                "type": "number",
                "description": "Protein content per 100g in grams"
              }
            },
            "required": [
              "calories",
              "fat",
              "sugar",
              "carbohydrates",
              "protein"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "family",
          "genus",
          "order",
          "nutritions"
        ]
      }
    }
  },
  "required": [
    "count",
    "fruits"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "fruityvice": {
      "url": "https://gateway.pipeworx.io/fruityvice/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026