Repair repository webhooks
repair_repositoryRe-install the forge webhook and refresh stored repository data to restore pipeline triggers after a repository rename or Woodpecker URL change. Optionally repair every repository on the server with instance scope.
Instructions
Re-installs the forge webhook and refreshes the stored repository data. This is the fix for "pushes no longer start a pipeline" after a repository was renamed or the Woodpecker URL changed. With scope="instance" it does that for every repository on the server, which is two-step and hits the forge API once per repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Default "repository". "instance" repairs all of them (admin only). | |
| repo_id | No | The repository to repair. Omit it only together with scope="instance". | |
| confirm_token | No | Token from a previous call of this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |