Get last build status
get_last_buildRetrieve the status and result of the most recent build in a project. Optionally filter by pipeline name to check a specific pipeline's last run.
Instructions
Get the status and result of the most recent build in a project. Use this to answer questions like 'what is the last pipeline status?', 'did the last build succeed?', 'what ran last?'. Optionally filter by pipeline name (partial match). Returns: buildNumber, status (inProgress/completed), result (succeeded/failed/partiallySucceeded/canceled), pipeline name, branch, who triggered it, and start/finish time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Azure DevOps project name or id. Defaults to AZDO_PROJECT if set. | |
| pipelineName | No | Filter by pipeline name (partial, case-insensitive). Omit to get the last build across all pipelines. |