Skip to content

fix(core): simplify tool schemas - #39184

Merged
rekram1-node merged 6 commits into
v2from
tool-schema-cleanup
Jul 27, 2026
Merged

fix(core): simplify tool schemas#39184
rekram1-node merged 6 commits into
v2from
tool-schema-cleanup

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • use exact optional keys for built-in tool and filesystem schemas
  • flatten compatible Effect allOf constraints and inline local schema references
  • add a script for inspecting the exact model-facing schema of built-in tools

Testing

  • bun test test/tool-schema.test.ts test/tool-read-filesystem.test.ts
  • bun typecheck
  • git diff --check

@rekram1-node
rekram1-node merged commit 3112431 into v2 Jul 27, 2026
3 checks passed
@rekram1-node
rekram1-node deleted the tool-schema-cleanup branch July 27, 2026 21:04
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.

1 participant