Repository navigation
perf(tools): stop advertising the question tool's legacy fields - #469
Merged
Merged
Conversation
The question schema listed the legacy single-question form (top-level question / choices / multi_select / important) and a legacy per-item choices array next to the preferred questions[].options shape. Every request paid for them. They are still parsed, so a model that sends the old shape keeps working; they are just no longer advertised. question parameters: 360 -> 230 tokens per request (o200k). docs/tools catalog and page updated for the question entry only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
questiontool schema advertised the legacy single-question form (top-levelquestion/choices/multi_select/important) and a legacy per-itemchoicesarray beside the preferredquestions[].options. Every request carried them.choices, top-levelquestion,important) still pass, so a model that sends the old shape keeps working.requiredwas added, so a strict-schema provider still accepts the old shape.importantandmulti_selectstay: they are current fields.questionparameters: 360 → 230 tokens per request (o200k).docs/tools/catalog.json/question.md: only thequestionentry changed. A plain build drops the feature-gatedast_*tools when regenerating, so I edited that entry and rangen_tool_docs.py;--checkpasses and so doescommitted_tool_catalog_matches_binary.Checks:
cargo test -p whycodes-tools --lib agent_tools(71), fmt, clippy (tools), ratchets.🤖 Generated with Claude Code