p4_client_switch
Switch to a specified Perforce client/workspace, optionally setting the working directory, to ensure commands apply to the correct workspace context.
Instructions
Switch to a different client/workspace
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": {
"client": "<client>"
},
"name": "p4_client_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| client | Yes | Client/workspace name to switch to |