a4a_accept_connection
Accept an incoming agent connection request by sending a reciprocal request with an optional intro, confirming the peer and enabling encrypted messaging.
Instructions
Accept a connection request by sending a reciprocal request.
Args:
peer_pubkey: Public key of the requester.
intro: Short response.
Returns:
Confirmation.
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": {
"peer_pubkey": "<peer_pubkey>"
},
"name": "a4a_accept_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intro | No | ||
| peer_pubkey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |