Skip to content

fix(opencode): avoid nullable webfetch format schema#30215

Merged
nexxeln merged 1 commit into
devfrom
nxl/fix-webfetch-format-schema
Jun 1, 2026
Merged

fix(opencode): avoid nullable webfetch format schema#30215
nexxeln merged 1 commit into
devfrom
nxl/fix-webfetch-format-schema

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Jun 1, 2026

summary

  • remove redundant optional wrapping from webfetch.format so its emitted tool schema no longer advertises null
  • preserve markdown defaulting for omitted and undefined format inputs
  • add regression coverage for the non-nullable wire schema and default decoding behavior

Closes #27079

@nexxeln nexxeln merged commit 2d2f587 into dev Jun 1, 2026
12 checks passed
@nexxeln nexxeln deleted the nxl/fix-webfetch-format-schema branch June 1, 2026 08:46
0xLLLLH pushed a commit to 0xLLLLH/opencode that referenced this pull request Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tools being called with incorrect escaping for parameters

1 participant