update_repository
Modify an existing Semaphore UI repository by project and repository IDs, supplying updated name, Git URL, branch, or SSH key fields in the request body.
Instructions
Updates repository. PUT /project/{project_id}/repositories/{repository_id}. Supply API fields in body; JSON-encoded string fields must remain strings.
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>",
"repository_id": "<repository_id>",
"body": "<body>"
},
"name": "update_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| project_id | Yes | ||
| repository_id | Yes |