Skip to content

Commit 4a65700

Browse files
committed
fix(opencode): add critical tool schema rules
anomalyco/opencode#13146 anomalyco/opencode#18392
1 parent ec29fe4 commit 4a65700

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎conf/.config/opencode/AGENTS.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CRITICAL TOOL SCHEMA RULES
2+
3+
- NEVER omit the `description` field in `bash` calls.
4+
- ALWAYS use the key `filePath` (not `path`) for read, write, and edit tools.
5+
- If a tool call fails with "received undefined", it means you missed a required key in the schema. Check your parameters and retry.

0 commit comments

Comments
 (0)