Morpho deposit
build_morpho_depositBuild unsigned transactions to deposit USDG into a Morpho vault on Robinhood Chain, or to withdraw it. Without a vault, the largest USDG vault is used. Vaults carry smart contract, curator and market risk. Returns calls for the wallet owner to sign and send in order on Robinhood Chain (chain ID 4663). No keyfo tool signs. The answer also has sign_url: a keyfo page where the user checks the transaction and signs it in their own wallet. It stays open for 15 minutes and gets a new quote itself when the price is out of date. Show that link to the user, and never ask them to paste the transaction data anywhere.
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": "<wallet>"
},
"name": "build_morpho_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pct | No | Share to move: of the wallet’s USDG for a deposit, of its vault shares for a withdrawal. Above 0, up to 100. | |
| usd | No | USDG to deposit or withdraw (1 USDG is about $1). Use this or pct. | |
| side | No | deposit or withdraw. deposit by default. | deposit |
| vault | No | Vault address or name from morpho_rates. Empty uses the largest USDG vault. | |
| wallet | Yes | The wallet that signs and sends, and holds the USDG or the vault shares. |