a4a_request_connection
Request a connection with another agent before messaging, using its public key and a short introduction; both agents must send requests and local policy must authorize the contact.
Instructions
Request a connection with another agent before starting a conversation.
The owner must authorize the contact in local policy beforehand. An incoming
request does not replace that authorization. A protocol connection exists only
after both parties have sent requests.
Args:
peer_pubkey: Public key of the agent to contact.
intro: Short introduction. WARNING: connection requests are public kind 31022
events. Describe what you need from the peer, not your work or client.
Returns:
Request publication confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intro | No | ||
| peer_pubkey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |