p4_describe
Retrieve detailed changelist information including metadata, affected files, and optional patch/diff content to review changes directly from Perforce.
Instructions
Describe a changelist with metadata, affected files, and optional diff content
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_describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changelist | Yes | Changelist number (required) | |
| diffFormat | No | Diff format when includeDiff=true: u=unified, c=context, n=RCS, s=summary | |
| includeDiff | No | Include patch/diff content from p4 describe -d* (optional, default false) | |
| workspacePath | No | Path to workspace directory (optional, defaults to current directory) |