Skip to contents

Apply a sequence of exact-match text replacements to a file.

Usage

tool_multi_edit(path, edits)

Format

A tool definition created with ellmer::tool().

Arguments

path

Path to the file to edit (tool argument)

edits

List or JSON string of edit operations (tool argument)