本文へスキップ
言語 — 現在: 日本語
テーマ — 現在: システムに合わせる
Tool
{
  "name": "searchapi_google_patents",
  "description": "Google Patents results from SearchApi, as structured JSON.",
  "input_schema": {
    "type": "object",
    "properties": {
      "q": {
        "type": "string",
        "description": "Search query; most engines accept native operators and advanced filters."
      },
      "sort": {
        "type": "string",
        "description": "Order of the patent results.",
        "enum": [
          "relevance",
          "new",
          "old"
        ]
      },
      "country": {
        "type": "string",
        "description": "Comma-separated patent office country codes, e.g. US,WO."
      },
      "status": {
        "type": "string",
        "description": "Patent status filter.",
        "enum": [
          "GRANT",
          "APPLICATION"
        ]
      },
      "inventor": {
        "type": "string",
        "description": "Filter by inventor name."
      },
      "assignee": {
        "type": "string",
        "description": "Filter by assignee name."
      },
      "page": {
        "type": "integer",
        "description": "Page number of the results.",
        "default": 1
      },
      "num": {
        "type": "integer",
        "description": "Number of results per page."
      }
    },
    "required": [
      "q"
    ],
    "examples": [
      {
        "q": "coffee"
      }
    ]
  }
}

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