{
  "name": "ClawVault",
  "description": "Security middleware for AI agents handling money. Validates transactions against rules, manages vaults across 9 chains, executes swaps, prediction market trades, virtual card purchases, and commerce orders.",
  "version": "1.0.0",
  "protocolVersion": "0.3.0",
  "url": "https://api.clawvault.cc/a2a",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "defaultInputModes": ["application/json", "text/plain"],
  "defaultOutputModes": ["application/json", "text/plain"],
  "skills": [
    {
      "id": "payment.send",
      "name": "Send Payment",
      "description": "Send USDC or tokens on Base, Ethereum, Arbitrum, Polygon, BNB, Avalanche, Tempo, 0G, or Solana. Params: { amount, token, recipient, chain, reason? }",
      "tags": ["payment", "transfer", "usdc"]
    },
    {
      "id": "payment.check",
      "name": "Check Payment Rules",
      "description": "Dry-run a payment against rules without executing. Params: { amount, token, recipient, chain }",
      "tags": ["rules", "check"]
    },
    {
      "id": "vault.balance",
      "name": "Get Vault Balance",
      "description": "Check USDC balance of a vault. Params: { address, chain? }",
      "tags": ["vault", "balance"]
    },
    {
      "id": "vault.create",
      "name": "Create Vault",
      "description": "Create a new vault wallet. Params: { chain }",
      "tags": ["vault", "create"]
    },
    {
      "id": "vaults.list",
      "name": "List Vaults",
      "description": "List all vaults with balances. No params required.",
      "tags": ["vault", "list"]
    },
    {
      "id": "swap.quote",
      "name": "Get Swap Quote",
      "description": "Get a swap price quote on Solana. Params: { fromToken, toToken, amount }",
      "tags": ["swap", "quote"]
    },
    {
      "id": "swap.execute",
      "name": "Execute Swap",
      "description": "Execute a token swap on Solana via dFlow. Params: { fromToken, toToken, amount, slippage?, reason? }",
      "tags": ["swap", "execute"]
    },
    {
      "id": "prediction.markets",
      "name": "List Prediction Markets",
      "description": "List Kalshi prediction markets. Params: { category?, status?, limit? }",
      "tags": ["prediction", "markets"]
    },
    {
      "id": "prediction.buy",
      "name": "Buy Prediction",
      "description": "Buy YES/NO outcome on a market. Params: { marketTicker, outcome, amount, reason? }",
      "tags": ["prediction", "buy"]
    },
    {
      "id": "prediction.sell",
      "name": "Sell Prediction",
      "description": "Sell a prediction position. Params: { marketTicker, outcome, amount, reason? }",
      "tags": ["prediction", "sell"]
    },
    {
      "id": "rules.get",
      "name": "Get Rules",
      "description": "Get current transaction rules. No params required.",
      "tags": ["rules"]
    },
    {
      "id": "credit.status",
      "name": "Credit Status",
      "description": "Check ACE credit status and outstanding loans. No params required.",
      "tags": ["credit", "status"]
    },
    {
      "id": "commerce.order",
      "name": "Commerce Order",
      "description": "Create a commerce order (Amazon, Shopify, flights). Params: { productLocator, quantity?, recipientEmail? }",
      "tags": ["commerce", "order"]
    }
  ],
  "securitySchemes": {
    "bearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "description": "ClawVault API key (cv_live_xxxxx)"
    }
  },
  "security": [{ "bearerAuth": [] }],
  "provider": {
    "organization": "ClawVault",
    "url": "https://clawvault.cc"
  }
}
