MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / EditFileInput

Struct EditFileInput

tools/builtin.go:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145type EditFileInput struct {
146 FilePath string `json:"file_path" jsonschema_description:"The absolute path to the file to edit"`
147 OldString string `json:"old_string" jsonschema_description:"The exact text to replace"`
148 NewString string `json:"new_string" jsonschema_description:"The text to replace it with (must differ from old_string)"`
149 ReplaceAll bool `json:"replace_all,omitempty" jsonschema:"default=false" jsonschema_description:"If true, replace all occurrences. Otherwise old_string must appear exactly once."`
150}
151
152type EditFileTool struct{ BaseTool }
153

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected