Create file or folder
nekoweb_createCreates a new empty file or folder at a given path on your Nekoweb site, failing if something already exists there. Use it to set up directories or blank files before writing content.
Instructions
Create a new empty file or a new folder on your Nekoweb site. Fails if something already exists at that path.
To create a file with content in one step, use nekoweb_write_file instead.
Examples:
"Make a blog folder" -> { path: "/mysite.nekoweb.org/blog", is_folder: true }
"Create an empty robots.txt" -> { path: "/mysite.nekoweb.org/robots.txt", is_folder: false }
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": {
"path": "<path>",
"is_folder": "<is_folder>"
},
"name": "nekoweb_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path from the account's file root, including the site folder, e.g. '/mysite.nekoweb.org/blog' | |
| is_folder | Yes | true to create a folder, false to create an empty file |