create_file
Create a new UTF-8 text file within an active session: revalidates the target and parent, blocks sensitive content, and never overwrites existing files.
Instructions
Create a new bounded UTF-8 text file inside an active Direct session. The target and its parent are revalidated, sensitive content is blocked, and existing targets are never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | New repository-relative file path. | |
| content | Yes | UTF-8 text content subject to Direct size and sensitive-content guards. | |
| review_id | No | Fresh review ID for this exact create proposal when required. | |
| session_id | Yes |