Initialize local site workspace
init_site_workspaceInitialize a local workspace directory for a configured domain outside the repository, adding a protective .gitignore.
Instructions
Create the local workspace directory for a configured domain outside this repository and add a protective .gitignore.
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>"
},
"name": "init_site_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Configured domain root to operate under. | |
| dry_run | No | Return paths without creating directories. | |
| server_id | No | Server profile id. Defaults to config.defaultServer. | |
| workspace_root | No | Local workspace root. Defaults to config.localWorkspaceRoot or ~/Dev/xserver-sites. |