{
  "$comment": "GENERATED FROM api/_tools/<slug>/route.mjs — do not edit by hand",
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "ask",
  "description": "Natural language query endpoint for AXIOM Tool Pass holders. Ask questions about wallets, tokens, gas, contracts — combines real-time data from Axiom's tool surface with local-model NL reasoning. Tool Pass / SIWE only; x402 micropayments are not accepted at the listed price.",
  "endpoint": "https://www.clawbots.org/api/tools/ask",
  "inputs": {
    "type": "object",
    "properties": {
      "question": {
        "type": "string",
        "description": "Natural language question about wallets, tokens, gas, or contracts (max 500 chars)",
        "maxLength": 500
      }
    },
    "required": [
      "question"
    ],
    "additionalProperties": false
  },
  "outputs": {
    "type": "object",
    "properties": {
      "question": {
        "type": "string"
      },
      "answer": {
        "type": "string"
      },
      "toolUsed": {
        "type": [
          "string",
          "null"
        ],
        "description": "Slug of the tool whose data was used, or null"
      },
      "toolData": {
        "type": [
          "string",
          "null"
        ],
        "description": "Marker string when tool data was used, else null"
      },
      "passHolder": {
        "type": [
          "string",
          "null"
        ],
        "description": "Wallet address that admitted the request, if available"
      },
      "timestamp": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "question",
      "answer",
      "toolUsed",
      "toolData",
      "timestamp"
    ]
  },
  "creatorAddress": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
  "tags": [
    "axiom",
    "nlp",
    "multi-tool",
    "tool-pass-only"
  ],
  "pricing": [],
  "authentication": [
    {
      "type": "siwe",
      "description": "Sign In With Ethereum. Holders of the Axiom Tool Pass NFT get free unlimited access. Sign a SIWE message proving wallet ownership; the server verifies your wallet holds the pass on-chain.",
      "header": "Authorization: SIWE <base64url(message)>.<0xsignature>",
      "passContract": "0xfc9ce3990f85fA1A3a0eE51a710642396a6Cad82",
      "chain": "base",
      "chainId": 8453,
      "collection": "https://opensea.io/collection/axiom-tool-pass"
    }
  ],
  "onChain": {
    "registry": "0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1",
    "chainId": 8453,
    "toolId": 20
  }
}
