Build a vault deposit
build_vault_depositDeposits amount USDG from wallet into one of the vaults list_earn_vaults names, after an approval of exactly that amount where needed.
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": {
"vault": "<vault>",
"amount": "<amount>",
"wallet": "<wallet>"
},
"name": "build_vault_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | The vault's address or name, as list_earn_vaults gives it | |
| amount | Yes | How much USDG, as a decimal number such as 0.5 | |
| wallet | Yes | The address that will sign and send the transactions |