Website root path
site_get_rootRetrieve the absolute root directory path for a specific website by ID, without querying or listing all sites. Use it to resolve a site's filesystem location.
Instructions
Absolute root directory of a site, without listing every site.
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>"
},
"name": "site_get_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Website id. | |
| key | No | Column to read, normally "path". | path |
| table | No | Table to read from, normally "sites". | sites |