Earn quote
earn_quoteFree, no key: the summary of a borrow, a deposit or a Multiply before building it: amount received, LTV, max LTV, liquidation price, rate, Trnch fee, leverage and price impact. action borrow { marketId, amount (USDG to receive) or ltv:20|35|50|max, collateral }, deposit { marketId, amount }, multiply { marketId, collateral, leverage 1.2 to max }. Nothing to sign.
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": {
"action": "<action>",
"marketId": "<marketId>"
},
"name": "earn_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| amount | No | borrow: USDG to receive, or ltv:20|35|50|max; deposit: USDG to lend. | |
| leverage | No | multiply: target leverage, 1.2 up to the Trnch cap (x2 on Stock Tokens), or max. | |
| marketId | Yes | Morpho market id, from earn_markets (marketId). | |
| collateral | No | Collateral supplied with the borrow or the Multiply, in collateral units (0 for none on a borrow). |