List repositories
list_repositoriesList Woodpecker CI repositories visible to your account, with optional filtering, pagination, and inclusion of inactive forge repositories. Administrators can list all server repositories.
Instructions
Lists repositories. By default the ones the authenticated account can see in Woodpecker; with include_inactive it also lists repositories that exist in the forge but were never activated, which is where the forge_remote_id for activate_repository comes from. scope="instance" lists every repository on the server and needs an administrator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Substring filter on the repository name (account scope only). | |
| page | No | Page number, starting at 1. | |
| scope | No | Default "account". "instance" lists all repositories on the server (admin only). | |
| per_page | No | Entries per page (1 … 50). Woodpecker clamps anything above 50 without saying so. | |
| include_inactive | No | Also list repositories from the forge that are not activated in Woodpecker. Only meaningful for scope="account"; it makes the call noticeably slower because Woodpecker refreshes them from the forge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |