Skip to content

Release v0.13.13: Improved file_editor tool documentation

Choose a tag to compare

@jwesleye jwesleye released this 20 Oct 16:06
· 47 commits to main since this release

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_editor now provides explicit guidance to agents about when to use simpler tools like read_file_to_string, write_file_from_string, or replace_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