Release v0.13.13: Improved file_editor tool documentation
Release v0.13.13
Improvements
file_editor Tool Enhancements
- Enhanced docstring with comprehensive examples and clear usage guide for LLM agents
- Added "AGENT GUIDANCE" section pointing to simpler alternative tools when appropriate
- Improved error messages with concrete usage examples for faster error recovery
- Added detailed command-specific documentation with multiple working examples
- Better parameter explanations for skip_confirm and options_json
What Changed
file_editornow provides explicit guidance to agents about when to use simpler tools likeread_file_to_string,write_file_from_string, orreplace_in_file- All validation errors now include example correct usage with the user's path
- JSON format errors show valid examples and troubleshooting tips
Impact
- Agents should have better success rates using file_editor
- Clearer fallback paths when the tool is too complex for simple operations
- Faster error recovery with actionable error messages
🤖 Generated with Claude Code