Anthropic supports function calling for text editor tool with specific commands for working with text files: https://docs.anthropic.com/en/docs/build-with-claude/tool-use/text-editor-tool. Adding support for this version of function calling for text manipulation inline with anthropic's official support should work the best with claude vs custom system prompts and tool descriptions.