Get step logs
get_step_logsFetch trailing log lines for a specific pipeline step by step ID, with configurable tail count.
Instructions
Fetches the log output of one pipeline step (use the step ids from get_pipeline). Returns the last tail lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository as "owner/name" (e.g. "acme/webapp") or a numeric Woodpecker repo id. | |
| tail | No | Number of trailing log lines to return (default 100, max 2000). | |
| number | Yes | Per-repo pipeline number the step belongs to. | |
| step_id | Yes | Step id from get_pipeline (not the step name). | |
| instance | Yes | Woodpecker instance name. Configured instances: default. |