p4_delete
Mark files for deletion in Perforce to remove them from version control, optionally specifying a changelist or workspace path.
Instructions
Mark files for delete in Perforce
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_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to delete (required) | |
| changelist | No | Changelist number (optional, defaults to default changelist) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |