agp_ask
Send a structured request to a peer and wait in one call for the correlated reply; if that peer cannot auto-receive, return immediately with remediation advice instead of waiting blindly.
Instructions
Send a structured request to a peer AND wait in ONE tool call for the correlated reply (correlation_id). Includes an anti-token-burn guard: if the recipient cannot auto-receive (will_auto_receive=false), returns immediately in 0ms with remediation advice instead of waiting blindly.
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": {
"to_uri": "<to_uri>",
"summary": "<summary>"
},
"name": "agp_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | task.request | |
| to_uri | Yes | Recipient AGP URI, @handle, or conversation_id. | |
| payload | No | Structured payload (for task.request, goal defaults to summary if omitted). | |
| summary | Yes | ||
| from_uri | No | ||
| priority | No | high | |
| artifacts | No | ||
| wake_mode | No | auto | |
| wait_timeout_sec | No | Max seconds (1-120) to wait when target can auto-receive. | |
| verbatim_constraints | No | ||
| fail_fast_if_unreachable | No | Return immediately instead of waiting if target is idle without listener/auto_cli. |