Give Atlas access to web_search tool

- Add web_search to ATLAS_TOOLS filter (was only finalize_prd)
- Add Tools Available section to atlas prompt so it knows when/how to use it

Made-with: Cursor
This commit is contained in:
2026-03-02 19:12:18 -08:00
parent e8fdbff9f4
commit 229f1fc7a3
2 changed files with 10 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ export interface AtlasChatResult {
// Main chat handler
// ---------------------------------------------------------------------------
const ATLAS_TOOLS = ALL_TOOLS.filter(t => t.name === 'finalize_prd');
const ATLAS_TOOLS = ALL_TOOLS.filter(t => ['finalize_prd', 'web_search'].includes(t.name));
export async function atlasChat(
sessionId: string,