Set run directory
site_set_run_pathChange the directory nginx resolves requests against for apps with entry points in subdirectories such as /public; it must already exist inside the site root.
Instructions
Change the directory nginx resolves requests against, for apps whose entry point lives in a subdirectory such as /public. The directory must already exist inside the site root.
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>",
"runPath": "<runPath>"
},
"name": "site_set_run_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Website id. | |
| runPath | Yes | Directory relative to the site root, e.g. /public. |