get_exit_capacity
Exit capacity for a Base lending market: per-protocol utilization and withdrawable liquidity read from the protocol's own books (Aave, Compound), plus — if you pass amountUsd — whether that size can be withdrawn right now and what share of the market it would be. High APY at high utilization means the market pays well and will not let you out; this tool separates the two. Protocols that do not expose borrowed-vs-supplied are marked unmeasured and are never recommended as executable. USDC only for USD figures; WETH returns utilization without USD (no price oracle in the paid path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Which Base lending market to measure: USDC (full USD figures) or WETH (utilization only). Defaults to USDC. | |
| amountUsd | No | Position size in USD to test for exit. Omit to get utilization and free liquidity without an exit verdict. |