withdraw
Withdraw from the Forge Treasury vault by redeeming shares. Returns calldata for the agent wallet. A 15% performance fee may apply on profits above the high water mark.
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": {
"shares": "<shares>",
"agentAddress": "<agentAddress>"
},
"name": "withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shares | Yes | Vault share amount to redeem (raw uint256 string from get_balance) | |
| agentAddress | Yes | Agent wallet address (owner of shares) |