DeFi lending health factor & safety buffer calculator ($0.01)
lending_health_factor[Paid x402 / X-Bazaar-Key: 0.01 USDC] Calculate Aave/Compound lending health factor and collateral drawdown safety buffer from collateral, debt, and liquidation threshold.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lending_health_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collateral_usd | No | Total collateral value in USD |