p4_merge
Merge files from a source path to a target path in Perforce. Provide the source and target filespecs, with optional changelist and workspace path.
Instructions
Merge files from source to target
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": {
"source": "<source>",
"target": "<target>"
},
"name": "p4_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source filespec/path (required) | |
| target | Yes | Target filespec/path (required) | |
| changelist | No | Changelist number (optional) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |