Create directory on webspace
webspace_mkdirCreate a directory inside a webspace as its unprivileged site user, jailed to the home directory. With recursive (the default) missing parents are created and an existing directory is not an error; with recursive false the parent must exist. For a VPS use vps_mkdir.
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": {
"id": "<id>",
"path": "<path>"
},
"name": "webspace_mkdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webspace ID | |
| path | Yes | Path relative to the webspace's home directory, or absolute under /home/<user>/. The web root is public_html. | |
| recursive | No | Create missing parent directories (default true) |