p4_labels
List Perforce labels using filters for name, user, filespec, or server, enabling targeted label discovery and inventory checks.
Instructions
List labels
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum number of results (optional) | |
| user | No | Filter by user (optional) | |
| label | No | Specific label to show (optional) | |
| filespec | No | Single filespec filter for labels containing matching files (optional) | |
| serverId | No | Limit labels to a specific server using -s (optional) | |
| unloaded | No | List unloaded labels using -U (optional) | |
| filespecs | No | Multiple filespec filters for labels in one command (optional) | |
| allServers | No | List labels across all servers using -a (optional) | |
| nameFilter | No | Label name filter using -e (optional) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) | |
| autoreloadOnly | No | List only autoreload labels using -R (optional) | |
| caseInsensitiveNameFilter | No | Case-insensitive label name filter using -E (optional) |