linger_ask_agent
Send a task or question to a remote Linger agent, wait for completion, and inline readable text or Markdown document cards from the reply for direct use.
Instructions
Send a task or question to a Linger agent (pass display_name or actor_id directly when known). Waits up to wait_seconds (default 60s) for completion and automatically inlines readable text/Markdown document cards returned in the reply under documents. Use linger_read_document for truncated/large docs or binary files instead of asking the agent to re-paste text in chat.
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": {
"agent": "<agent>",
"prompt": "<prompt>"
},
"name": "linger_ask_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent actor_id or display_name | |
| prompt | Yes | Task instruction or question for the Linger agent | |
| room_id | No | Optional existing Linger room ID to reuse | |
| room_mode | No | Override default room mode (bridge or direct) | |
| wait_seconds | No | Max seconds to wait before returning async job_id (default 60) |