Get an agent
get_agentRetrieve details of a single Woodpecker CI agent by its numeric ID. Admin access required; the agent's token is redacted for security, so use delete and create to issue a new one.
Instructions
Returns one agent. Admin only. Its token is redacted; an agent that lost its token needs a new one, which means delete_agent and create_agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Numeric agent id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |