finalize_proposal
Close proposal voting and calculate the final outcome using the configured threshold type (majority, two-thirds, unanimous, or quorum).
Instructions
Close voting on a proposal and compute the final result. The result depends on the threshold type (majority, two-thirds, unanimous, quorum).
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": {
"proposal_id": "<proposal_id>"
},
"name": "finalize_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The proposal ID | |
| total_eligible_voters | No | Optional: total eligible voters for quorum calculation. If not provided, quorum is calculated based on votes cast. |