vault_action
正和金库操作。action=deposit:USDC→LOVE(返回 approve+deposit calldata);action=withdraw:LOVE→USDC(返回 redeem calldata);action=balance:查 LOVE 余额+NAV+浮盈(只读)。金库无 owner、无管理函数,NAV 单调增长——存款安全由合约字节码保证,可自验。
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>",
"address": "<address>"
},
"name": "vault_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| amount | No | deposit=USDC 数量;withdraw=LOVE 数量 | |
| address | Yes | 操作地址 0x…(deposit/withdraw 的接收方,balance 的查询方) |