p4_sync
Sync files from a Perforce depot to your local workspace. Specify a path, filter to specific files, or force overwrite to discard local changes.
Instructions
Sync files from the 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_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| files | No | Specific files to sync (optional, syncs all if not provided) | |
| force | No | Force sync even if you have local changes |