p4_stream_create
Create a new Perforce stream with a specified type and optional parent. Define the stream path and description to establish a branch for version control.
Instructions
Create a new stream
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": {
"stream": "<stream>",
"type": "<type>",
"description": "<description>"
},
"name": "p4_stream_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Working directory path (optional) | |
| type | Yes | Stream type (mainline, development, release, virtual, task) | |
| parent | No | Parent stream path (required for non-mainline streams) | |
| stream | Yes | New stream path (e.g., //depot/feature-xyz) | |
| description | Yes | Stream description |