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.
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": {
"instance": "<instance>"
},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | Yes | Woodpecker instance name. Configured instances: default. |