github_get_deployments
List GitHub repository deployments, optionally filtered by environment, to get deployment IDs, statuses, refs, and creators for tracking CI/CD activity.
Instructions
List deployments for a repository, optionally filtered by environment. Returns deployment ID, environment, status, ref, and creator.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_get_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| environment | No | Filter by environment name (e.g. 'production', 'staging') |