ambr_agent_handshake
Initiate a handshake on a contract on behalf of your delegating principal.
Requires an API key with an active delegation (principal wallet registered via /api/v1/delegations). Records the agent's intent to accept, reject, or request changes on the contract. The principal must separately approve via wallet signature on the Reader Portal.
Args:
contract_id (string, required): Contract ID (amb-YYYY-NNNN), SHA-256 hash, or UUID
intent (string, required): "accept" | "reject" | "request_changes"
message (string, optional): Note for the counterparty
visibility_preference (string, optional): "private" | "metadata_only" | "public" | "encrypted"
Returns: Handshake status and next steps for principal approval.
Legibility: the handshake itself is auditable — delegation scope, agent identity, and principal approval are recorded alongside the contract hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | Handshake intent | |
| message | No | Optional note for counterparty | |
| contract_id | Yes | Contract ID, SHA-256 hash, or UUID | |
| visibility_preference | No | Optional visibility preference for negotiation |