Anti-cross-site settings
site_dir_useriniGet a site's .user.ini anti-cross-site protection and access-log flags plus its current run directory via site ID and root path.
Instructions
The .user.ini anti-cross-site protection flag, access-log flag and the current run directory of a 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>",
"path": "<path>"
},
"name": "site_dir_userini"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Website id. | |
| path | Yes | Website root path, from site_get_root. |