Get a Handshake
get_handshakeUse this to check one Handshake (an agreed trade) and what your side still needs to do. The payment.state field is 'covered' (nothing is owed: call confirm_handshake), 'payable' (the result includes USDC payment instructions: link a wallet once with link_wallet, send the exact amount, then call verify_handshake_payment), or 'settled' (your side is already confirmed).
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": {
"handshake_id": "<handshake_id>"
},
"name": "get_handshake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handshake_id | Yes | The Handshake's id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| my_role | No | ||
| payment | No | ||
| handshake | No |