Skip to content

Scope --schema/--schema-mode to tools-get and tools-call only#155

Merged
jancurn merged 9 commits intomainfrom
claude/remove-schema-validation-6R5cD
Apr 10, 2026
Merged

Scope --schema/--schema-mode to tools-get and tools-call only#155
jancurn merged 9 commits intomainfrom
claude/remove-schema-validation-6R5cD

Conversation

@jancurn
Copy link
Copy Markdown
Member

@jancurn jancurn commented Apr 9, 2026

Summary

  • Moved --schema and --schema-mode from global CLI options to tools-get and tools-call subcommands only
  • Removed schema validation from prompts-get (too confusing, not useful there)
  • Updated help text for tools-call with a dedicated "Schema validation" section

Details

  • tools-get --schema validates a tool's schema hasn't changed (read-only check, no side effects)
  • tools-call --schema validates before calling (guards against breaking changes in CI/scripts)
  • prompts-get no longer accepts --schema — prompt schema validation was confusing and rarely used
  • Removed --schema/--schema-mode from global KNOWN_OPTIONS and parser-level validation; options are now handled by Commander at the subcommand level
  • Updated README, changelog, and E2E tests accordingly

https://claude.ai/code/session_012EqvtRBWtSQHn25i68cRiN

@jancurn jancurn changed the title Move schema validation to tool-call command only Scope --schema/--schema-mode to tools-get and tools-call only Apr 10, 2026
@jancurn jancurn merged commit 826c32f into main Apr 10, 2026
6 checks passed
@jancurn jancurn deleted the claude/remove-schema-validation-6R5cD branch April 10, 2026 14:32
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.

3 participants