Activate repository
activate_repositoryEnable Woodpecker CI for an existing repository by installing its webhook, so pipelines start running. Provide the repository's forge_remote_id from list_repositories as input.
Instructions
Turns on Woodpecker for a repository that exists in the forge, which installs the webhook and makes pipelines run. Takes the forge-side id, NOT an owner/name pair and not a Woodpecker id — call list_repositories with include_inactive=true and read forge_remote_id from the entry.
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": {
"forge_remote_id": "<forge_remote_id>"
},
"name": "activate_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forge_remote_id | Yes | The repository id as the forge knows it (field forge_remote_id), not the Woodpecker repo_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |