rohan_execute_handshake
Executes or previews a confidential handshake commitment on Midnight while keeping sensitive parameters hashed locally, so agents can settle actions without exposing secrets.
Instructions
Executes or locally previews a confidential handshake commitment on Midnight. Usage guidelines:
Use for a user-authorized settlement; set dryRun: true only when the user asks to preview, test, or inspect a commitment without on-chain settlement (default false).
Do not use for reads, history, status, or audit; use rohan_get_ledger_state, rohan_get_transaction_history, rohan_get_agent_status, or rohan_verify_commitment instead.
Keep sensitive values in confidentialPayload, actionSummary generic, and private keys out of tool arguments. Follow recoveryAction on errors; after replay check transaction history, and after signature errors check agent status. Payloads are canonicalized and hashed locally.
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": {
"actionSummary": "<actionSummary>"
},
"name": "rohan_execute_handshake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only set true when the user asks to preview, test, or inspect the commitment without settling on-chain. Defaults to false. | |
| intent | No | Deprecated alias. actionSummary remains required. | |
| agentId | No | Optional Sovereign Agent DID. Defaults to the local signer's DID and must match it when provided. | |
| actionSummary | Yes | Required public high-level action label. | |
| counterpartyId | No | Optional counterparty agent identifier. | |
| confidentialPayload | No | Optional confidential parameters, canonicalized and hashed locally. |