p4_move
Move or rename files in Perforce version control by specifying source and destination paths, with optional changelist and workspace path.
Instructions
Move/rename 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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "p4_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source file path (required) | |
| changelist | No | Changelist number (optional) | |
| destination | Yes | Destination file path (required) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |