get_health_factor
Liquidation-risk monitor for a lending position.
Returns health_factor (>1 safe, <1 liquidatable), collateral value, debt value, liquidation threshold. protocol: kamino | marginfi.
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": {
"wallet_address": "<wallet_address>",
"protocol": "<protocol>"
},
"name": "get_health_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | ||
| protocol | Yes | ||
| caller_id | No | ||
| wallet_address | Yes | ||
| marginfi_account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||