{
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "sweep-quote",
  "description": "Quote a real NFT sweep cost on OpenSea. Walks up the listing curve for a collection, deduplicates by token ID, and returns how many NFTs you'd get for a given ETH budget \u2014 with slippage, average price, and token IDs.",
  "endpoint": "https://www.clawbots.org/api/tools/sweep-quote",
  "inputs": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "OpenSea collection slug"
      },
      "budget": {
        "type": "number",
        "description": "ETH budget for the sweep"
      }
    },
    "required": [
      "slug",
      "budget"
    ]
  },
  "outputs": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string"
      },
      "budget": {
        "type": "number"
      },
      "nftCount": {
        "type": "integer",
        "description": "Number of NFTs you'd acquire"
      },
      "totalCost": {
        "type": "number",
        "description": "Total ETH cost"
      },
      "avgPrice": {
        "type": "number"
      },
      "slippage": {
        "type": "number",
        "description": "Price increase from floor to last acquired"
      },
      "tokenIds": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "remainingBudget": {
        "type": "number"
      }
    }
  },
  "creatorAddress": "0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
  "tags": [
    "opensea",
    "nft",
    "sweep",
    "floor",
    "trading"
  ],
  "pricing": [
    {
      "amount": "30000",
      "asset": "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "recipient": "eip155:8453:0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
      "protocol": "x402"
    }
  ]
}
