servicestage__CreateOAuth
Creates an OAuth authorization for a specified Git repository type—GitHub, GitLab, Gitee, or Bitbucket—within a Huawei Cloud ServiceStage project.
Instructions
[SERVICESTAGE] 创建指定Git仓库类型的OAuth授权。
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": {
"project_id": "<project_id>",
"repo_type": "<repo_type>"
},
"name": "servicestage__CreateOAuth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | 站点标签。 | |
| repo_type | Yes | 仓库类型。 | |
| project_id | Yes | 租户的project ID。 |