fs_create_file
Create a text file at a specified path, optionally setting initial content and character encoding. Use for generating new files with precise text control.
Instructions
Create text file with initial content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "fs_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charset | No | utf-8 | |
| content | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||