servicestage__CreateFile
Creates a file in a specified ServiceStage repository project, enabling you to add project files using a branch, tag, or commit reference.
Instructions
[SERVICESTAGE] 在指定仓库项目下创建文件。
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": {
"namespace": "<namespace>",
"path": "<path>",
"project": "<project>",
"project_id": "<project_id>",
"ref": "<ref>"
},
"name": "servicestage__CreateFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 分支名称或者tag标签名称或者commit sha。 | |
| path | Yes | 文件路径,需要将“/”替换为“:”。 | |
| project | Yes | 仓库项目ID,如果含有“/”,需要将“/”替换为“:”。 | |
| namespace | Yes | 命名空间ID或者URL编码名称。 | |
| project_id | Yes | 租户的project ID。 |