List agents
list_agentsList Woodpecker CI build agents with platform, capacity, version, and last contact times to check whether agents are online while pipelines wait pending. Admin token required.
Instructions
Lists the instance's build agents: id, name, platform, backend, capacity, version, whether scheduling is paused (no_schedule), org_id (-1 for global agents), and ISO last contact / last work times. Use it to see whether agents are online when pipelines sit pending. Requires an admin token; Woodpecker answers 403 otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | Yes | Woodpecker instance name. Configured instances: default. |