AgentInput
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| dict builtins dict() -> new empty dictionary |
|
⋔ Inheritance diagram¶
graph TD
3250848298["input_types.AgentInput"]
2645524081["builtins.dict"]
2751680898["builtins.object"]
2645524081 --> 3250848298
2751680898 --> 2645524081
🛈 DocStrings¶
Bases: TypedDict
Input for the Task tool. Launches a new agent to handle complex, multi-step tasks.
Source code in src/clawd_code_sdk/models/input_types.py
isolation
instance-attribute
¶
Isolation mode.
"worktree" creates a temporary git worktree; "remote" launches the agent in a remote cloud environment (always runs in background).
mode
instance-attribute
¶
Deprecated; ignored. Subagents inherit the parent session's permission mode.
model
instance-attribute
¶
Optional model override for this agent.
Takes precedence over the agent definition's model frontmatter. If omitted, uses the agent definition's model, or inherits from the parent.
run_in_background
instance-attribute
¶
Whether to run the agent in the background.
subagent_type
instance-attribute
¶
The type of specialized agent to use for this task.
team_name
instance-attribute
¶
Team name for spawning. Uses current team context if omitted.