You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Reproduction Steps
Upgrade opencode to version 1.51.10
Run a session where the agent needs to call tools like read or bash
Observe that required parameters are silently dropped (e.g., filePath for read, command for bash)
Expected Behavior
Tool calls should include all required parameters as specified in the tool schema
The agent should be able to recover from errors without infinite looping
Actual Behavior
read tool is called without filePath → SchemaError(Missing key at ["filePath"])
bash tool is called without command → SchemaError(Missing key at ["command"])
Agent gets into an infinite loop of retrying the same failing call instead of stopping to fix itself
Affected Scope
At least two separate instances affected (not isolated)
This did NOT occur before upgrading to 1.51.10
Error Examples
The read tool was called with invalid arguments: SchemaError(Missing key at ["filePath"])
The bash tool was called with invalid arguments: SchemaError(Missing key at ["command"])
Suspected Cause
This appears to be a regression introduced in 1.51.10 — possibly related to changes in how required parameters are validated or propagated during tool calls. The agent loses awareness of required fields and cannot self-recover from the errors.
The title starts with [FEATURE]: but the content describes a bug/regression — please use the correct template (Bug Report) and update the title accordingly
The issue appears to be AI-generated: the highly structured sections ("Reproduction Steps", "Expected Behavior", "Actual Behavior", "Affected Scope", "Error Examples", "Suspected Cause") read as machine-generated walls of text, which is not acceptable per our guidelines
The Bug Report template requires system information (OS, terminal, OpenCode version) — these fields are missing
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon May 24, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:but the content describes a bug/regression — please use the correct template (Bug Report) and update the title accordinglyPlease edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
command, etc.), agent gets stuck — very similar symptomsSchemaError(Missing key)for tool calls with missing required fieldsfilePath/contentundefined)If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon May 24, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.