Relax delegation guidance in the v2 spawn_agent description (#46264)

Remove the default description's instruction to spawn agents only for concrete,
bounded subtasks that can run independently alongside useful local work.

GitOrigin-RevId: cbceed13c738b0f84fb90c053fa9285f541d578b
This commit is contained in:
surajs-oai
2026-09-17 17:26:50 +00:00
committed by copyberry
parent 96aca987f7
commit 16f49ccd7f

View File

@@ -762,7 +762,6 @@ fn spawn_agent_tool_description_v2(
You are then able to refer to this agent as `task_3` or `/root/task1/task_3` interchangeably. However an agent `/root/task2/task_3` would only be able to communicate with this agent via its canonical name `/root/task1/task_3`.
The spawned agent will have the same tools as you and the ability to spawn its own subagents.
{inherited_model_guidance}
Only call this tool for a concrete, bounded subtask that can run independently alongside useful local work; otherwise continue locally.
It will be able to send you and other running agents messages, and its final answer will be provided to you when it finishes.
The new agent's canonical task name will be provided to it along with the message.