p4_diff
Compare workspace files against depot versions to identify local changes. Limit to specific files or display a summary.
Instructions
Show differences for workspace files (opened or local vs depot)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "p4_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to diff (optional, defaults to all opened files) | |
| summary | No | Show summary only (optional, defaults to false) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |