p4_add
Add new files to a Perforce depot, supporting wildcards and optional working directory paths for version control.
Instructions
Add files to Perforce
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": {
"files": "<files>"
},
"name": "p4_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| files | Yes | Files to add (can use wildcards) |