p4_workspace_snapshot
Capture a complete snapshot of a Perforce workspace, including status, config, opened files, and recent changelists, to quickly assess workspace state.
Instructions
Composite workspace snapshot: info + status + optional config/opened/recent changes
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_workspace_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeConfig | No | Include p4.config.detect output (optional, default true) | |
| includeOpened | No | Include full p4.opened output (optional, default false) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) | |
| recentChangesMax | No | Maximum recent changelists to include (optional, default 10) | |
| includeRecentChanges | No | Include recent changelists via p4.changes (optional, default false) |