feat: per-agent tools toggle and better python scratchpad

Add ToolSelector for enabling sandboxed python per agent, drop unsafe
filesystem/bash tools, bundle fetchUrl with web search, and return
Monty's last expression value so agents need not print.
This commit is contained in:
Zoe
2026-07-29 14:18:37 -05:00
parent 5aebd30808
commit a836082de8
6 changed files with 182 additions and 203 deletions
+3
View File
@@ -21,6 +21,9 @@ export default defineEventHandler(async (event) => {
rerank: z.boolean(),
maxResults: z.number().min(1).max(50),
}).optional(),
tools: z.object({
python: z.boolean().optional(),
}).optional(),
}).optional(),
})
.safeParse(body),