Lends Math Health Factor
lends_math_health_factorCalculate a position's health factor in basis points to assess liquidation risk, returning null when there is no debt.
Instructions
Calculate health factor in basis points; returns null when debt is zero.
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": {
"valueLeusd": "<valueLeusd>",
"debtLeusd": "<debtLeusd>",
"liquidationThresholdBps": "<liquidationThresholdBps>"
},
"name": "lends_math_health_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debtLeusd | Yes | ||
| valueLeusd | Yes | ||
| liquidationThresholdBps | Yes |