p4_diff
Show differences between file versions in Perforce. Pass the files and an optional working directory to compare and review changes.
Instructions
Show differences for files
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": {
"files": "<files>"
},
"name": "p4_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| files | Yes | Files to diff |