Submit the signed withdrawal (step 2 of 2)
submit_vote_withdrawComplete the withdrawal: pass workId, the BODY_JSON from prepare_vote_withdraw UNCHANGED, and the signature over MESSAGE_TO_SIGN. Free, always, and relays to the same public gate any HTTP client uses. Cost and signer: free, no gas; signed by the person's own wallet or passkey, and the house never holds a key.
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": {
"workId": "<workId>",
"bodyJson": "<bodyJson>",
"signature": "<signature>"
},
"name": "submit_vote_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workId | Yes | The packet id. | |
| bodyJson | Yes | The exact BODY_JSON string from prepare_vote_withdraw, unchanged. | |
| signature | Yes | The 0x… personal_sign output over MESSAGE_TO_SIGN. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |