Get DeFi positions for an address
get_positionFetch open Indigo CDP or Liqwid loan positions for a Cardano address, returning collateral, debt, health factor, frozen status, and CDP out-ref. Read-only.
Instructions
Read open positions for a Cardano address: Indigo CDPs (collateral, minted iAsset debt, frozen flag, and the CDP out-ref that close_cdp needs) or Liqwid loans (debt, collateral value, health factor, LTV). Read-only.
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": {
"protocol": "<protocol>",
"address": "<address>"
},
"name": "get_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Bech32 Cardano address that owns the positions | |
| protocol | Yes | Which protocol to read positions from |