Home / Projects / NiPlex-Harness / Tools / Files tools / edit_selected_part

Pictures

edit_selected_part

Replaces one exact piece of text.

Since 2 Sept 2026

The old text must match exactly.

Tool name
edit_selected_part
Group
Files
Risk
medium
Needs approval
never
Approval rule
No approval. Hard blocks apply.
Allowed in scheduled jobs
No
Default
on

Parameters

NameTypeRequiredDefaultMeaningLimits
pathstringYesPath relative to the project, such as vault/note.md.
old_textstringYesExact text to replace. Must match once.
new_textstringYesReplacement text.

Returns

A confirmation.

Example (made up for this page)

Call
{
  "path": "demo",
  "old_text": "demo",
  "new_text": "demo"
}
Result
Edited vault/notes/a.md

Side effects

  • Changes a file.

How it can fail

WhenWhat the agent sees
Text not foundold_text not found (exact match required)

Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.