paserver_remove
Delete a file or directory on a PAServer remote host using the specified connection profile. Use it to clean up scratch directories or remove old deployments without touching the local cache.
Instructions
Delete a file or directory on the PAServer remote host.
Wraps paclient -R <remote_path> (capital-R: removes from the remote
host, not the local cache). Use to clean up scratch dirs or old
deployments. Be careful with wildcards.
Args: profile: Connection Profile name. remote_path: Path on the PAServer host. Wildcards allowed. timeout: Seconds before the operation is killed (default 60). studio_root: Optional Studio install 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": {
"profile": "<profile>",
"remote_path": "<remote_path>"
},
"name": "paserver_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| timeout | No | ||
| remote_path | Yes | ||
| studio_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |