lending-stress
Calculate a lending position's health factor now and under a specified collateral drop to assess liquidation risk.
Instructions
Health factor of a lending position, now and under a collateral haircut.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collateral_usd": "<collateral_usd>",
"debt_usd": "<debt_usd>",
"liquidation_threshold": "<liquidation_threshold>",
"haircut_pct": "<haircut_pct>"
},
"name": "lending-stress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debt_usd | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. | |
| haircut_pct | Yes | ||
| collateral_usd | Yes | ||
| liquidation_threshold | Yes |