Skip to content

AgentAsyncLaunchedOutput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3571629505["output_types.AgentAsyncLaunchedOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3571629505
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Output from the Task tool when an agent was launched asynchronously.

Source code in src/clawd_code_sdk/models/output_types.py
class AgentAsyncLaunchedOutput(TypedDict):
    """Output from the Task tool when an agent was launched asynchronously."""

    status: Literal["async_launched"]
    """Indicates the agent was launched in the background."""
    isAsync: NotRequired[Literal[True]]
    """Always True for async-launched agents."""
    agentId: str
    """The ID of the async agent."""
    description: str
    """The description of the task."""
    resolvedModel: NotRequired[str]
    """Model in use at the backgrounding transition."""
    modelsUsed: NotRequired[list[str]]
    """Ordered distinct models used before backgrounding."""
    prompt: str
    """The prompt for the agent."""
    outputFile: str
    """Path to the output file for checking agent progress."""
    canReadOutputFile: NotRequired[bool]
    """Whether the calling agent has Read/Bash tools to check progress."""

agentId instance-attribute

agentId: str

The ID of the async agent.

canReadOutputFile instance-attribute

canReadOutputFile: NotRequired[bool]

Whether the calling agent has Read/Bash tools to check progress.

description instance-attribute

description: str

The description of the task.

isAsync instance-attribute

isAsync: NotRequired[Literal[True]]

Always True for async-launched agents.

modelsUsed instance-attribute

modelsUsed: NotRequired[list[str]]

Ordered distinct models used before backgrounding.

outputFile instance-attribute

outputFile: str

Path to the output file for checking agent progress.

prompt instance-attribute

prompt: str

The prompt for the agent.

resolvedModel instance-attribute

resolvedModel: NotRequired[str]

Model in use at the backgrounding transition.

status instance-attribute

status: Literal['async_launched']

Indicates the agent was launched in the background.

:fa-brands-github: Show source on GitHub