You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Launch a sub-agent to handle a subtask autonomously. Sub-agents run in their own conversation context. Use the `type` parameter to select a specialized sub-agent, or use `to` to continue a previous sub-agent with follow-up instructions.",
28
+
"Launch a sub-agent to handle a subtask autonomously. Sub-agents run in their own conversation context. Use the `type` parameter to select a specialized sub-agent.",
30
29
parameters: {
31
30
type: "object",
32
31
properties: {
33
32
prompt: {
34
33
type: "string",
35
-
description: "The task description or follow-up message for the sub-agent. Be specific about what you need.",
34
+
description: "The task description for the sub-agent. Be specific about what you need.",
36
35
},
37
36
description: {
38
37
type: "string",
39
-
description:
40
-
"A short (3-5 word) description of what the sub-agent will do, shown in the UI. Optional when resuming a previous sub-agent via `to`.",
38
+
description: "A short (3-5 word) description of what the sub-agent will do, shown in the UI.",
41
39
},
42
40
type: {
43
41
type: "string",
44
42
enum: SUB_AGENT_TYPE_NAMES,
45
43
description:
46
44
"Sub-agent type. 'researcher' (web search/fetch, page reading — read-only, no DOM interaction), 'page_operator' (browser tab interaction, DOM manipulation, page automation), 'general' (all tools, default). Choose the most specific type for better results.",
47
45
},
48
-
to: {
49
-
type: "string",
50
-
description:
51
-
"agentId of a previously completed sub-agent. Sends a follow-up message while preserving the sub-agent's full conversation context.",
52
-
},
53
46
tab_id: {
54
47
type: "number",
55
48
description:
@@ -71,10 +64,9 @@ export function createSubAgentTool(params: {
0 commit comments