calculate_risk
Compute risk metrics for a loan position using borrow amount, collateral, interest rate, and duration to evaluate potential exposure.
Instructions
Calculate risk metrics for a potential loan position. Requires any Floe API key (agent floe_... or developer floe_live_...).
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": {
"borrow_amount": "<borrow_amount>",
"collateral_amount": "<collateral_amount>",
"interest_rate_percent": "<interest_rate_percent>",
"duration_days": "<duration_days>"
},
"name": "calculate_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| borrow_amount | Yes | Borrow amount in human units | |
| duration_days | Yes | Duration in days | |
| collateral_amount | Yes | Collateral in human units | |
| interest_rate_percent | Yes | Annual rate % | |
| liquidation_ltv_percent | No | Liquidation threshold % |