factor_vault_analytics
Fetch detailed on-chain vault positions, including token balances, USD values, APY/APR by protocol, aggregate stats, and lending health factors for risk checks.
Instructions
Get detailed vault position breakdown with per-token balances, USD values, APY/APR by protocol (Aave, Compound, Morpho, Pendle, idle tokens), aggregate stats (weighted APY, TVL breakdown, net return), and — when the vault has lending positions — a lending block with per-protocol health metrics: Aave V3 account-level healthFactor + USD totals + LT/LTV; Compound V3 per-market healthFactor + isLiquidatable + collateral breakdown; Morpho per-market healthFactor + collateral/borrow USD. Reads directly from on-chain — always up to date. SAFETY: when leveraging, never enter if any healthFactor < 2.0; deleverage if any healthFactor < 1.3.
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": {
"vaultAddress": "<vaultAddress>"
},
"name": "factor_vault_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vaultAddress | Yes | The vault contract address |