ask_claude_async
Dispatch Claude tasks to run in the background, returning immediately. Retrieve outputs later via the agent's inbox for concurrent or fire-and-forget AI operations.
Instructions
Dispatch a Claude task in the background; returns immediately.
Runs the same ask_claude in a background thread, then delivers the
result through the existing mailbox as a message from "claude" to
from_agent — poll it with inbox(agent=from_agent). The delivered
message body is the JSON-encoded ask_claude result, plus label if
supplied (use it to match results when firing several concurrent
dispatches). from_agent must be a known agent. Fire-and-forget: not
persisted, so a hardline-mcp restart before completion loses the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| model | No | ||
| write | No | ||
| effort | No | default | |
| prompt | Yes | ||
| workdir | No | ||
| from_agent | Yes |