Enhance native tool descriptions with examples and clarifications #9486
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.
Summary
This PR enhances the native tool descriptions to match the detail level of their XML counterparts by:
Tools Enhanced (18 total)
Benefits
Testing
✅ All tests pass (4192 passed, 4 skipped)
✅ All lint checks pass
✅ All type checks pass
Important
Enhances 18 native tool descriptions by extracting them into constants, adding JSON examples, and including parameter explanations for better maintainability and consistency.
apply_diff,ask_followup_question,attempt_completion.browser_action,codebase_search,execute_command.fetch_instructions,generate_image,insert_content.list_code_definition_names,list_files,new_task.read_file,run_slash_command,search_files.switch_mode,update_todo_list,write_to_file.This description was created by
for 4bf256f. You can customize this summary. It will automatically update as commits are pushed.