Accept a proposal
accept_proposalUse this when the user decides to accept a trade proposal they received. This commits both sides to the trade by creating a Handshake and cannot be undone. Confirm with the user first. Returns the Handshake id and what is needed next for the user's side.
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": "accept_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The proposal to accept |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | No | ||
| handshake_id | No |