create_repository
Creates a new repository in SemaphoreUI by providing project ID, repository name, Git URL, branch, and SSH key ID for authentication.
Instructions
Create a new repository.
Args: project_id: ID of the project name: Repository name git_url: Git repository URL git_branch: Git branch to use ssh_key_id: SSH key ID for authentication
Returns: Created repository details
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>",
"name": "<name>",
"git_url": "<git_url>",
"git_branch": "<git_branch>",
"ssh_key_id": "<ssh_key_id>"
},
"name": "create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| git_url | Yes | ||
| git_branch | Yes | ||
| project_id | Yes | ||
| ssh_key_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||