p4_opened
List files opened in Perforce, optionally filtered by changelist or file paths, to identify pending changes in your workspace.
Instructions
List opened files
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "p4_opened"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional files/filespecs to check for opened state | |
| changelist | No | Changelist number (optional, shows all opened files if not specified) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |