{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "search_catalog",
        "description": "Search the product catalog. Use this tool when a shopper asks for products by name, keyword, category, or feature.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string",
              "description": "The customer’s search phrase."
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 5
            }
          },
          "required": [
            "query"
          ],
          "additionalProperties": false
        }
      },
      {
        "name": "get_inventory",
        "description": "Check available inventory for a product and warehouse.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "sku": {
              "type": "string"
            },
            "warehouse": {
              "type": "string",
              "enum": [
                "west",
                "east"
              ]
            }
          },
          "required": [
            "sku",
            "warehouse"
          ]
        }
      },
      {
        "name": "list_related_products",
        "description": "Find alternatives and accessories for a particular product.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "sku": {
              "type": "string"
            },
            "includeAccessories": {
              "type": "boolean",
              "default": true
            }
          },
          "required": [
            "sku"
          ]
        }
      }
    ]
  }
}