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

Pictures

create_file

Creates a file inside a folder. Not on the root.

Since 2 Sept 2026

Refuses protected paths and root files.

Tool name
create_file
Group
Files
Risk
low
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.
contentstringNoThe text to store or write.Memory notes are read back into prompts in slices of 4,000 characters (global) or 1,500 (session).

Returns

A confirmation.

Example (made up for this page)

Call
{
  "path": "demo"
}
Result
Created vault/notes/a.md

Side effects

  • Writes a file.

How it can fail

WhenWhat the agent sees
Root fileRefused: root files cannot be edited by the agent.
Protected pathHARD BLOCK: harness core cannot be written

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.