agp_send
Sends schema-validated, secret-redacted, signed AGP messages to peer AI sessions or channels and returns delivery status so agents avoid waiting on unreachable recipients.
Instructions
Send an AGP structured message to another AI session or channel (@handle, URI, conversation_id, 'all', or 'channel:'). Enforces schema validation, DLP secret redaction, Ed25519 JWS, token budget, DAG cycle guard, idempotency, and circuit breakers. Returns honest delivery status (will_auto_receive, mode, remediation) so you never burn tokens waiting on an unreachable idle peer.
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": {
"type": "<type>",
"summary": "<summary>",
"payload": "<payload>"
},
"name": "agp_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| wake | No | ||
| to_uri | No | Recipient AGP URI, @handle, conversation_id, 'all', or 'channel:<topic>'. Optional if in_reply_to is set. | |
| payload | Yes | Structured JSON payload matching the message type contract. | |
| summary | Yes | Concise summary (<= 200 tokens) of the message. | |
| ttl_sec | No | ||
| from_uri | No | Sender AGP URI (defaults to current session). | |
| max_hops | No | ||
| priority | No | normal | |
| trace_id | No | ||
| artifacts | No | ||
| hop_count | No | ||
| wake_mode | No | 'auto' uses listener/hook/auto_cli; 'force_cli' spawns detached CLI resume if target has a conversation_id; 'none' queues silently. | auto |
| async_task | No | ||
| in_reply_to | No | msg_id being replied to (auto-inherits trace_id, correlation_id, to_uri). | |
| visited_uris | No | ||
| content_taint | No | peer_generated | |
| correlation_id | No | ||
| parent_span_id | No | ||
| idempotency_key | No | ||
| verbatim_constraints | No |