Expand description
Agents tool — list and spawn subagent types.
Provides two tools:
agents— List available subagent configurationsspawn_subagent— Spawn a subagent to handle an isolated task
Mirrors opendev/core/context_engineering/tools/implementations/agents_tool.py
and the subagent spawning logic from the Python react loop.
Structs§
- Agents
Tool - Tool for listing available subagent types.
- Channel
Progress Callback - Progress callback that sends events through an mpsc channel.
- Spawn
Subagent Tool - Tool that spawns and runs a subagent to handle an isolated task.
Enums§
- Subagent
Event - Events emitted by a running subagent, consumed by the parent agent or TUI.