effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTool

AnthropicTool.TextEditorStrReplaceCommand

Text editor command payload for replacing one exact, unique string in a file.

When to use

Use when typing parsed text-editor replace command payloads that must carry one exact old_str match.

Gotchas

The old_str must match exactly, including whitespace and indentation, and must be unique in the file.

Signature

type TextEditorStrReplaceCommand = typeof TextEditorStrReplaceCommand.Type

Source

Since v4.0.0