p4_shelve
Shelve files in a Perforce changelist to share work for code review. Specify the changelist, optionally limit files, or delete shelved files.
Instructions
Shelve files for code review
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": {
"changelist": "<changelist>"
},
"name": "p4_shelve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to shelve (optional, shelves all in changelist if not specified) | |
| delete | No | Delete shelved files instead of creating (optional, defaults to false) | |
| changelist | Yes | Changelist number (required) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |