p4_path_synccheck
Compare two Perforce depot paths to identify missing changes and sync status using interchanges and integration history in a single call.
Instructions
Composite path sync analysis using interchanges/integrated in one call
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": {
"sourcePath": "<sourcePath>",
"targetPath": "<targetPath>"
},
"name": "p4_path_synccheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePath | Yes | Source depot filespec/path (required) | |
| targetPath | Yes | Target depot filespec/path (required) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) | |
| maxInterchanges | No | Maximum interchanges per direction (optional, default 50) | |
| includeIntegrated | No | Include p4 integrated history (optional, default true) | |
| checkBothDirections | No | Run reverse-direction comparison too (optional, default true) |