Vote on and execute a proposal
dexe_proposal_vote_and_executeVote on a DAO proposal, auto-deposit missing governance tokens to meet voting power, and execute the proposal once it passes, with optional signer broadcasting or WalletConnect payloads.
Instructions
Broadcasts when a signer is configured. The ONE call for 'vote on / pass / execute proposal N': checks proposal state, AUTO-DEPOSITS wallet tokens when voting power is short (approve UserKeeper → deposit → vote, the frontend's bundled shape), and with autoExecute executes once the vote passes. Without a signer it returns ordered TxPayloads + a WalletConnect QR. Unsure of the lifecycle (validator round, locked tokens)? Call dexe_guide (flow:'vote_execute') first.
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": {
"govPool": "<govPool>",
"proposalId": "<proposalId>"
},
"name": "dexe_proposal_vote_and_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | User address. Required when no signer is loaded. | |
| dryRun | No | If true, return ordered TxPayloads even when a signer is loaded (preview without broadcasting). | |
| chainId | No | Target chain (56 mainnet, 97 testnet); needs an RPC for it. Default: the MCP's default chain. | |
| govPool | Yes | DAO GovPool address (dexe_dao_registry_lookup). | |
| isVoteFor | No | Vote for (true) or against (false) | |
| signerKey | No | Keyring signer: omit = primary key; 'agent<n>' or address = a DEXE_AGENT_PK_* key. | |
| proposalId | Yes | On-chain proposal id, 1-indexed decimal (dexe_proposal_list). | |
| voteAmount | No | Vote amount: raw wei (digits only) or human units with a decimal point ('12.5'). Default: ALL available power (deposited + wallet). | |
| voteNftIds | No | Your governance NFT token ids, decimal; [] for ERC20-only DAOs. | |
| autoExecute | No | Attempt execute if proposal passes after vote | |
| flowContext | No | Guided-flow position from dexe_guide's step templates. Adds flowProgress + next to the result and persists it. | |
| depositFirst | No | 'auto': deposit exactly what is missing when deposited power is short. true: deposit the whole wallet balance. false: never deposit. | auto |
| driveValidatorRound | No | With autoExecute, drive the validator stage too: moveProposalToValidators, cast the signer's validator vote if it is one, then execute. False stops after the member vote. |