fs_create_file
Create a new file with UTF-8 content, refusing if the path already exists. Triggers user approval for external agents to ensure safe file creation.
Instructions
Create a new file with the given UTF-8 content.
Refuses if the path already exists — use fs_overwrite (T2)
to replace an existing file.
For external agents this triggers a user-approval prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||