get_build_step_log
Retrieve raw log output for a specific build step on Codemagic to diagnose failed builds without accessing the dashboard.
Instructions
Get the raw log output for a specific build step on Codemagic.
Calls the undocumented endpoint that the Codemagic web dashboard uses internally (GET /builds/{build_id}/step/{step_id}), which returns the step's stdout/stderr as text/plain. Use this to diagnose failed builds without manual dashboard access.
The step_id is the _id field of any entry in the buildActions array
returned by get_build_status, or equivalently the last path segment
of that step's logUrl.
Args: build_id: The build identifier step_id: The build step identifier
Returns: The step log as plain text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | Yes | ||
| step_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |