Make Hosting Dir
make_hosting_dirCreate an empty directory, with any missing parents, in a domain's Porkbun Secure Static Hosting space. Use it when you need an explicit folder before deploying files.
Instructions
Create a directory (and any missing parent directories) at path in a domain's Secure Static Hosting space. deploy_site already auto-creates the directories in a file's path, so use this only to stand up an empty directory explicitly. Calls the Porkbun Hosting API (https://porkbun.com/llms/hosting).
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": {
"domain": "<domain>",
"path": "<path>"
},
"name": "make_hosting_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to create, e.g. `assets/img`. | |
| domain | Yes | Domain whose hosting to create the directory in. |