summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJames Meng <[email protected]>2026-01-19 20:15:02 -0800
committerGitHub <[email protected]>2026-01-19 22:15:02 -0600
commit36f5ba52e9c7dc657fa7c3c856e1bafd827cd314 (patch)
tree06ea281b3d9e8ab8df227618888ca896c3faab26
parent088b537657a5826ad77e2b9ddef190e5e54e0b12 (diff)
downloadopencode-36f5ba52e9c7dc657fa7c3c856e1bafd827cd314.tar.gz
opencode-36f5ba52e9c7dc657fa7c3c856e1bafd827cd314.zip
fix(batch): update batch tool definition to outline correct value for max tool calls (#9517)
-rw-r--r--packages/opencode/src/tool/batch.txt2
1 files changed, 1 insertions, 1 deletions
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.