{
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "portfolio-rebalance-advisor",
  "description": "Portfolio analysis and rebalancing suggestions for any wallet on Base. Reads all token holdings, evaluates concentration risk, identifies missing stablecoin/core positions, and suggests rebalancing moves. 5min cache. $0.05 USDC per call; AXIOM Tool Pass holders get free access.",
  "endpoint": "https://www.clawbots.org/api/tools/portfolio-rebalance-advisor",
  "inputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Wallet address on Base (0x...)"
      }
    },
    "required": [
      "address"
    ]
  },
  "outputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string"
      },
      "holdings": {
        "type": "array",
        "items": {
          "type": "object"
        }
      },
      "suggestions": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "flags": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "metrics": {
        "type": "object",
        "properties": {
          "totalPositions": {
            "type": "integer"
          },
          "stablecoinPositions": {
            "type": "integer"
          },
          "corePositions": {
            "type": "integer"
          },
          "altcoinPositions": {
            "type": "integer"
          }
        }
      }
    }
  },
  "creatorAddress": "0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
  "tags": [
    "portfolio",
    "rebalance",
    "defi",
    "base",
    "risk-management"
  ],
  "pricing": [
    {
      "amount": "50000",
      "asset": "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "recipient": "eip155:8453:0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
      "protocol": "x402"
    }
  ]
}
