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
@@ -30,14 +34,17 @@ Then answer the question to the best of your ability.
30
34
31
35
You cannot use any other tools beyond the ones provided to you. (No abiltity to read files, write files, or run terminal commands, etc.)
32
36
37
+
Note: when you spawn the file-explorer, it takes a params field, which is an object with a prompts field, which is an array of strings.
38
+
Note: No need to spawn multiple file-explorer agents, but you can spawn multiple web-researcher or docs-researcher agents.
39
+
33
40
${PLACEHOLDER.FILE_TREE_PROMPT}
34
41
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
35
42
36
43
instructionsPrompt: `Instructions:
37
-
1. Use <thinking> tags to think about which agent(s) to spawn.
38
-
2. Spawn the fileexplorer, researcher, or both at the same time with the spawn_agents tool.
39
-
3. Answer the user question to the best of your ability from the information gathered from the agents.
40
-
4. Use the end_turn tool.`,
44
+
In your thinking, consider which agent(s) to spawn.
45
+
1. Spawn the file-explorer, web-researcher, docs-researcher, or any combination of the above at the same time with the spawn_agents tool. Do not spawn any more agents after this step. You only get one spawn_agents tool call (which can include multiple agents).
46
+
2. Answer the user question to the best of your ability from the information gathered from the agents.
spawnerPrompt: `Expert at reading technical documentation to find relevant information.`,
10
+
inputSchema: {
11
+
prompt: {
12
+
type: 'string',
13
+
description:
14
+
'A question you would like answered using technical documentation.',
15
+
},
16
+
},
17
+
outputMode: 'last_message',
18
+
includeMessageHistory: false,
19
+
toolNames: ['read_docs','end_turn'],
20
+
spawnableAgents: [],
21
+
22
+
systemPrompt: `You are an expert researcher who can read documentation to find relevant information. Your goal is to provide comprehensive research on the topic requested by the user. Use read_docs to get detailed documentation.`,
23
+
instructionsPrompt: `Instructions:
24
+
1. Use the read_docs tool to get detailed documentation relevant to the user's question.
25
+
2. Provide a comprehensive report of the documentation. Include key findings, relevant insights, and actionable recommendations.
spawnerPrompt: `Expert at browsing the web to find relevant information.`,
10
+
inputSchema: {
11
+
prompt: {
12
+
type: 'string',
13
+
description: 'A question you would like answered using web search',
14
+
},
15
+
},
16
+
outputMode: 'last_message',
17
+
includeMessageHistory: false,
18
+
toolNames: ['web_search','end_turn'],
19
+
spawnableAgents: [],
20
+
21
+
systemPrompt: `You are an expert researcher who can search the web to find relevant information. Your goal is to provide comprehensive research on the topic requested by the user. Use web_search to find current information.`,
22
+
instructionsPrompt:
23
+
`Provide comprehensive research on the topic. Use web_search to find current information.
24
+
In your report, include key findings, relevant insights, and actionable recommendations.
25
+
Always end your response with the end_turn tool.`.trim(),
`The exact library or framework name (e.g., "Next.js", "MongoDB", "React"). Use the official name as it appears in documentation, not a search query.`,
16
+
`The library or framework name (e.g., "Next.js", "MongoDB", "React"). Use the official name as it appears in documentation if possible. Only public libraries available in Context7's database are supported, so small or private libraries may not be available.`,
17
17
),
18
18
topic: z
19
19
.string()
20
-
.optional()
21
20
.describe(
22
-
`Optional specific topic to focus on (e.g., "routing", "hooks", "authentication")`,
21
+
`Specific topic to focus on (e.g., "routing", "hooks", "authentication")`,
0 commit comments