p4_unshelve
Unshelve files from a Perforce changelist back to your workspace, with options to target specific files or force overwrite of opened files.
Instructions
Unshelve files from a shelved changelist
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_unshelve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to unshelve (optional, unshelves all if not specified) | |
| force | No | Force unshelve even if files are opened (optional, defaults to false) | |
| changelist | Yes | Changelist number (required) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |