From 36f5ba52e9c7dc657fa7c3c856e1bafd827cd314 Mon Sep 17 00:00:00 2001 From: James Meng <35415298+jamesmengo@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:15:02 -0800 Subject: [PATCH] fix(batch): update batch tool definition to outline correct value for max tool calls (#9517) --- packages/opencode/src/tool/batch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/tool/batch.txt b/packages/opencode/src/tool/batch.txt index 565eb4dd4..968a6c3f0 100644 --- a/packages/opencode/src/tool/batch.txt +++ b/packages/opencode/src/tool/batch.txt @@ -6,7 +6,7 @@ Payload Format (JSON array): [{"tool": "read", "parameters": {"filePath": "src/index.ts", "limit": 350}},{"tool": "grep", "parameters": {"pattern": "Session\\.updatePart", "include": "src/**/*.ts"}},{"tool": "bash", "parameters": {"command": "git status", "description": "Shows working tree status"}}] Notes: -- 1–20 tool calls per batch +- 1–25 tool calls per batch - All calls start in parallel; ordering NOT guaranteed - Partial failures do not stop other tool calls - Do NOT use the batch tool within another batch tool.