Get Deployment History
sf_get_deployment_historyRetrieve recent Salesforce metadata deployment history with status, component counts, test results, and errors. Filter by deployment status and limit results.
Instructions
Retrieves the history of recent metadata deployments using the Tooling API DeployRequest object. Shows deployment status, component counts, test results, and error messages.
limit: number of recent deployments to return (default: 20, max: 200) status: filter by status — 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Pending', or omit for all
Returns: deploy ID, status, start time, end time, component totals, test totals, and any errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum deployments to return | |
| status | No | Filter by deployment status | all |