repository_create
Create a new repository within a Semaphore project using a Git URL and SSH key for authentication.
Instructions
Create a new repository.
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>",
"ssh_key_id": "<ssh_key_id>"
},
"name": "repository_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID of the project. | |
| name | Yes | Repository name. | |
| git_url | Yes | Git URL of the repository. | |
| ssh_key_id | Yes | ID of the SSH key for authentication. | |
| git_branch | No | Git branch to use (default: main). | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |