本文へスキップ
言語 — 現在: 日本語
テーマ — 現在: システムに合わせる
Tool
{
  "name": "searchapi_apple_product_reviews",
  "description": "Apple App Store Reviews results from SearchApi, as structured JSON.",
  "input_schema": {
    "type": "object",
    "properties": {
      "product_id": {
        "type": "string",
        "description": "App Store application identifier to load reviews for."
      },
      "country": {
        "type": "string",
        "description": "App Store country (two-letter code).",
        "default": "us"
      },
      "sort_by": {
        "type": "string",
        "description": "Order of the reviews.",
        "enum": [
          "most_recent",
          "most_helpful"
        ]
      },
      "page": {
        "type": "integer",
        "description": "Page number of the results.",
        "default": 1
      }
    },
    "required": [
      "product_id"
    ],
    "examples": [
      {
        "product_id": "sample_apple_product_reviews_product_id"
      }
    ]
  }
}

この定義を自分のエージェントのツール配列に貼り付けてください。スキーマはこのエンジンのカタログ登録内容から生成され、設定した値はスキーマの examples に入ります。名前は MCP サーバーのものではなく私たちが決めたもので — あなたのエージェントが呼び出す名前です — どのエンジンも searchapi_ を接頭辞に持ちます。