p4_raw_command
Execute raw p4 commands to debug Perforce operations, capturing stdout and stderr for troubleshooting.
Instructions
FOR DEBUGGING: Executes a raw p4 command and returns stdout/stderr
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": {
"command": "<command>"
},
"name": "p4_raw_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| command | Yes | The full p4 command to run (e.g., 'p4 describe -s 1234') |