tools/call_subordinate.py.dox.md
call_subordinate.py agent tool.call_subordinate.py because this directory is intentionally flat.call_subordinate.py owns the runtime implementation.call_subordinate.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.Delegation (Tool)
async execute(self, message=..., reset=..., context_id=..., **kwargs)get_log_object(self)_subordinate_profile_labels(agent: Agent) -> dict[str, str]_validate_subordinate_profile(agent: Agent, profile: str) -> strget_or_create_subordinate(...) -> Agentrun_subordinate(...) -> strhelpers.tool.Tool subclasses and return helpers.tool.Response from execute(...).break_loop behavior, intervention handling, prompt instructions, or side effects change.Delegation is a Tool.Delegation defines execute(...).profile/agent_profile values are validated against available profile keys before use; unknown profiles raise RepairableException so the agent can retry with a real profile.Agent(parent.number + 1, ...) in its own persisted child-chat context, so sibling A1 agents can each create their own A2 descendants without sharing streaming state.reset=true creates a fresh child. reset=false continues the caller's default child or the exact child named by context_id.RepairableException instead of silently changing its profile.context_id; parallel job snapshots expose the same stable child ID separately from their per-invocation job ID.agent, extensions.python.hist_add_tool_result, helpers, helpers.errors, helpers.tool.AgentContext.all, projects.get_context_project_name, projects.activate_project, subagents.get_available_agents_dict, RepairableException, initialize_agent, message_queue.log_user_message, persist_chat.save_tmp_chat, UserMessage, subordinate.monologue, and subordinate.history.new_topic.tests/test_default_prompt_budget.pytests/test_subagent_profiles.pytests/test_parallel_tool.pyNo child DOX files.