Get Environment
get_environmentRetrieve details for a specific deployment environment in Bitbucket Cloud using the repository slug and environment UUID.
Instructions
Get a single deployment environment.
Requires the deployment OAuth scope.
Args: repo_slug: Repository slug environment_uuid: Environment UUID workspace: Workspace name (optional, defaults to configured workspace)
Returns: Environment details
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": {
"repo_slug": "<repo_slug>",
"environment_uuid": "<environment_uuid>"
},
"name": "get_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| workspace | No | ||
| environment_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |