KosmoKrator

productivity

Bitbucket Lua API for KosmoKrator Agents

Agent-facing Lua documentation and function reference for the Bitbucket KosmoKrator integration.

15 functions 9 read 6 write API key auth

Lua Namespace

Agents call this integration through app.integrations.bitbucket.*. Use lua_read_doc("integrations.bitbucket") inside KosmoKrator to discover the same reference at runtime.

Agent-Facing Lua Docs

This is the rendered version of the full Lua documentation exposed to agents when they inspect the integration namespace.

HTTP client for the Bitbucket REST API (v2) — Lua API Reference

bitbucket_create_branch

Create a new branch in a Bitbucket repository. Requires a branch name and the target commit hash..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
namestringyesThe name for the new branch.
target_hashstringyesThe commit hash to branch from.

Example

local result = app.integrations.bitbucket.bitbucket_create_branch({
  workspace = ""
  repo_slug = ""
  name = ""
})

bitbucket_create_issue

Create a new issue in a Bitbucket repository. Requires a title; optionally set content, kind, priority, and assignee..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
titlestringyesThe title of the issue.
contentstringnoThe issue description (Markdown supported).
kindstringnoIssue kind: bug, enhancement, proposal, task. Default: bug.
prioritystringnoIssue priority: trivial, minor, major, critical, blocker. Default: major.
assigneestringnoThe UUID of the user to assign the issue to.

Example

local result = app.integrations.bitbucket.bitbucket_create_issue({
  workspace = ""
  repo_slug = ""
  title = ""
})

bitbucket_create_pull_request

Create a new pull request in a Bitbucket repository. Requires a title, source branch, and destination branch..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
titlestringyesThe title of the pull request.
descriptionstringnoThe pull request description (Markdown supported).
source_branchstringyesThe name of the source branch.
destination_branchstringnoThe name of the destination branch. Default: main.
close_source_branchbooleannoWhether to close the source branch after merge. Default: false.

Example

local result = app.integrations.bitbucket.bitbucket_create_pull_request({
  workspace = ""
  repo_slug = ""
  title = ""
})

bitbucket_create_repo

Create a new repository in a Bitbucket workspace. Optionally set description, visibility, and language..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe slug for the new repository.
descriptionstringnoA short description of the repository.
is_privatebooleannoWhether the repository should be private. Default: true.
languagestringnoThe main language of the repository (e.g.

Example

local result = app.integrations.bitbucket.bitbucket_create_repo({
  workspace = ""
  repo_slug = ""
  description = ""
})

bitbucket_get_file

Get the raw content of a file from a Bitbucket repository at a specific revision..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
revisionstringyesA commit hash, branch name, or tag.
file_pathstringyesThe path to the file within the repository.

Example

local result = app.integrations.bitbucket.bitbucket_get_file({
  workspace = ""
  repo_slug = ""
  revision = ""
})

bitbucket_get_issue

Get details for a specific issue in a Bitbucket repository..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
issue_idintegeryesThe issue identifier.

Example

local result = app.integrations.bitbucket.bitbucket_get_issue({
  workspace = ""
  repo_slug = ""
  issue_id = 0
})

bitbucket_get_pull_request

Get details for a specific pull request in a Bitbucket repository..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
pr_idintegeryesThe pull request identifier.

Example

local result = app.integrations.bitbucket.bitbucket_get_pull_request({
  workspace = ""
  repo_slug = ""
  pr_id = 0
})

bitbucket_get_repo

Get details for a specific Bitbucket repository by workspace and repo slug..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.

Example

local result = app.integrations.bitbucket.bitbucket_get_repo({
  workspace = ""
  repo_slug = ""
})

bitbucket_list_branches

List branches in a Bitbucket repository. Supports pagination..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
pagelenintegernoNumber of results per page (1-100). Default: 10.

Example

local result = app.integrations.bitbucket.bitbucket_list_branches({
  workspace = ""
  repo_slug = ""
  pagelen = 0
})

bitbucket_list_commits

List commits in a Bitbucket repository. Supports filtering by revision and path..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
revisionstringnoA commit hash, branch name, or tag to list commits for.
pathstringnoFilter commits to those affecting a specific file path.
pagelenintegernoNumber of results per page (1-100). Default: 10.

Example

local result = app.integrations.bitbucket.bitbucket_list_commits({
  workspace = ""
  repo_slug = ""
  revision = ""
})

bitbucket_list_issues

List issues in a Bitbucket repository. Supports filtering by state, kind, and priority..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
statestringnoFilter by issue state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid.
kindstringnoFilter by kind: bug, enhancement, proposal, task.
prioritystringnoFilter by priority: trivial, minor, major, critical, blocker.
pagelenintegernoNumber of results per page (1-100). Default: 10.

Example

local result = app.integrations.bitbucket.bitbucket_list_issues({
  workspace = ""
  repo_slug = ""
  state = ""
})

bitbucket_list_pull_requests

List pull requests in a Bitbucket repository. Supports filtering by state and pagination..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
statestringnoFilter by state: OPEN, MERGED, DECLINED, SUPERSEDED.
pagelenintegernoNumber of results per page (1-100). Default: 10.

Example

local result = app.integrations.bitbucket.bitbucket_list_pull_requests({
  workspace = ""
  repo_slug = ""
  state = ""
})

bitbucket_list_repos

List repositories in a Bitbucket workspace. Supports sorting and pagination..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
sortstringnoSort field (e.g.
pagelenintegernoNumber of results per page (1-100). Default: 10.
pagestringnoPage URL or page number for pagination.

Example

local result = app.integrations.bitbucket.bitbucket_list_repos({
  workspace = ""
  sort = ""
  pagelen = 0
})

bitbucket_merge_pull_request

Merge a Bitbucket pull request. Optionally provide a merge commit message..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
pr_idintegeryesThe pull request identifier.
merge_commit_messagestringnoAn optional message for the merge commit.

Example

local result = app.integrations.bitbucket.bitbucket_merge_pull_request({
  workspace = ""
  repo_slug = ""
  pr_id = 0
})

bitbucket_update_issue

Update an existing issue in a Bitbucket repository. Can change title, content, state, priority, and assignee..

Parameters

NameTypeRequiredDescription
workspacestringyesThe workspace slug or UUID.
repo_slugstringyesThe repository slug.
issue_idintegeryesThe issue identifier.
titlestringnoThe new title of the issue.
contentstringnoThe new issue description (Markdown supported).
statestringnoNew state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid.
prioritystringnoNew priority: trivial, minor, major, critical, blocker.
assigneestringnoThe UUID of the user to assign the issue to.

Example

local result = app.integrations.bitbucket.bitbucket_update_issue({
  workspace = ""
  repo_slug = ""
  issue_id = 0
})

Multi-Account Usage

If you have multiple bitbucket accounts configured, use account-specific namespaces:

-- Default account (always works)
app.integrations.bitbucket.function_name({...})

-- Explicit default (portable across setups)
app.integrations.bitbucket.default.function_name({...})

-- Named accounts
app.integrations.bitbucket.work.function_name({...})
app.integrations.bitbucket.personal.function_name({...})

All functions are identical across accounts — only the credentials differ.

Raw agent markdown
# HTTP client for the Bitbucket REST API (v2) — Lua API Reference

## bitbucket_create_branch

Create a new branch in a Bitbucket repository. Requires a branch name and the target commit hash..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `name` | string | yes | The name for the new branch. |
| `target_hash` | string | yes | The commit hash to branch from. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_create_branch({
  workspace = ""
  repo_slug = ""
  name = ""
})
```

## bitbucket_create_issue

Create a new issue in a Bitbucket repository. Requires a title; optionally set content, kind, priority, and assignee..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `title` | string | yes | The title of the issue. |
| `content` | string | no | The issue description (Markdown supported). |
| `kind` | string | no | Issue kind: bug, enhancement, proposal, task. Default: bug. |
| `priority` | string | no | Issue priority: trivial, minor, major, critical, blocker. Default: major. |
| `assignee` | string | no | The UUID of the user to assign the issue to. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_create_issue({
  workspace = ""
  repo_slug = ""
  title = ""
})
```

## bitbucket_create_pull_request

Create a new pull request in a Bitbucket repository. Requires a title, source branch, and destination branch..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `title` | string | yes | The title of the pull request. |
| `description` | string | no | The pull request description (Markdown supported). |
| `source_branch` | string | yes | The name of the source branch. |
| `destination_branch` | string | no | The name of the destination branch. Default: main. |
| `close_source_branch` | boolean | no | Whether to close the source branch after merge. Default: false. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_create_pull_request({
  workspace = ""
  repo_slug = ""
  title = ""
})
```

## bitbucket_create_repo

Create a new repository in a Bitbucket workspace. Optionally set description, visibility, and language..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The slug for the new repository. |
| `description` | string | no | A short description of the repository. |
| `is_private` | boolean | no | Whether the repository should be private. Default: true. |
| `language` | string | no | The main language of the repository (e.g.  |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_create_repo({
  workspace = ""
  repo_slug = ""
  description = ""
})
```

## bitbucket_get_file

Get the raw content of a file from a Bitbucket repository at a specific revision..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `revision` | string | yes | A commit hash, branch name, or tag. |
| `file_path` | string | yes | The path to the file within the repository. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_get_file({
  workspace = ""
  repo_slug = ""
  revision = ""
})
```

## bitbucket_get_issue

Get details for a specific issue in a Bitbucket repository..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `issue_id` | integer | yes | The issue identifier. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_get_issue({
  workspace = ""
  repo_slug = ""
  issue_id = 0
})
```

## bitbucket_get_pull_request

Get details for a specific pull request in a Bitbucket repository..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `pr_id` | integer | yes | The pull request identifier. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_get_pull_request({
  workspace = ""
  repo_slug = ""
  pr_id = 0
})
```

## bitbucket_get_repo

Get details for a specific Bitbucket repository by workspace and repo slug..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_get_repo({
  workspace = ""
  repo_slug = ""
})
```

## bitbucket_list_branches

List branches in a Bitbucket repository. Supports pagination..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `pagelen` | integer | no | Number of results per page (1-100). Default: 10. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_list_branches({
  workspace = ""
  repo_slug = ""
  pagelen = 0
})
```

## bitbucket_list_commits

List commits in a Bitbucket repository. Supports filtering by revision and path..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `revision` | string | no | A commit hash, branch name, or tag to list commits for. |
| `path` | string | no | Filter commits to those affecting a specific file path. |
| `pagelen` | integer | no | Number of results per page (1-100). Default: 10. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_list_commits({
  workspace = ""
  repo_slug = ""
  revision = ""
})
```

## bitbucket_list_issues

List issues in a Bitbucket repository. Supports filtering by state, kind, and priority..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `state` | string | no | Filter by issue state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid. |
| `kind` | string | no | Filter by kind: bug, enhancement, proposal, task. |
| `priority` | string | no | Filter by priority: trivial, minor, major, critical, blocker. |
| `pagelen` | integer | no | Number of results per page (1-100). Default: 10. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_list_issues({
  workspace = ""
  repo_slug = ""
  state = ""
})
```

## bitbucket_list_pull_requests

List pull requests in a Bitbucket repository. Supports filtering by state and pagination..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `state` | string | no | Filter by state: OPEN, MERGED, DECLINED, SUPERSEDED. |
| `pagelen` | integer | no | Number of results per page (1-100). Default: 10. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_list_pull_requests({
  workspace = ""
  repo_slug = ""
  state = ""
})
```

## bitbucket_list_repos

List repositories in a Bitbucket workspace. Supports sorting and pagination..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `sort` | string | no | Sort field (e.g.  |
| `pagelen` | integer | no | Number of results per page (1-100). Default: 10. |
| `page` | string | no | Page URL or page number for pagination. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_list_repos({
  workspace = ""
  sort = ""
  pagelen = 0
})
```

## bitbucket_merge_pull_request

Merge a Bitbucket pull request. Optionally provide a merge commit message..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `pr_id` | integer | yes | The pull request identifier. |
| `merge_commit_message` | string | no | An optional message for the merge commit. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_merge_pull_request({
  workspace = ""
  repo_slug = ""
  pr_id = 0
})
```

## bitbucket_update_issue

Update an existing issue in a Bitbucket repository. Can change title, content, state, priority, and assignee..

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workspace` | string | yes | The workspace slug or UUID. |
| `repo_slug` | string | yes | The repository slug. |
| `issue_id` | integer | yes | The issue identifier. |
| `title` | string | no | The new title of the issue. |
| `content` | string | no | The new issue description (Markdown supported). |
| `state` | string | no | New state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid. |
| `priority` | string | no | New priority: trivial, minor, major, critical, blocker. |
| `assignee` | string | no | The UUID of the user to assign the issue to. |

### Example

```lua
local result = app.integrations.bitbucket.bitbucket_update_issue({
  workspace = ""
  repo_slug = ""
  issue_id = 0
})
```

---

## Multi-Account Usage

If you have multiple bitbucket accounts configured, use account-specific namespaces:

```lua
-- Default account (always works)
app.integrations.bitbucket.function_name({...})

-- Explicit default (portable across setups)
app.integrations.bitbucket.default.function_name({...})

-- Named accounts
app.integrations.bitbucket.work.function_name({...})
app.integrations.bitbucket.personal.function_name({...})
```

All functions are identical across accounts — only the credentials differ.

Metadata-Derived Lua Example

local result = app.integrations.bitbucket.bitbucket_list_repos({
  workspace = "example_workspace",
  sort = "example_sort",
  pagelen = 1,
  page = "example_page"
})
print(result)

Functions

bitbucket_list_repos

List repositories in a Bitbucket workspace. Supports sorting and pagination.

Operation
Read read
Full name
bitbucket.bitbucket_list_repos
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
sort string no Sort field (e.g. "-updated_on", "name", "-created_on").
pagelen integer no Number of results per page (1-100). Default: 10.
page string no Page URL or page number for pagination.

bitbucket_get_repo

Get details for a specific Bitbucket repository by workspace and repo slug.

Operation
Read read
Full name
bitbucket.bitbucket_get_repo
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.

bitbucket_create_repo

Create a new repository in a Bitbucket workspace. Optionally set description, visibility, and language.

Operation
Write write
Full name
bitbucket.bitbucket_create_repo
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The slug for the new repository.
description string no A short description of the repository.
is_private boolean no Whether the repository should be private. Default: true.
language string no The main language of the repository (e.g. "python", "javascript").

bitbucket_list_issues

List issues in a Bitbucket repository. Supports filtering by state, kind, and priority.

Operation
Read read
Full name
bitbucket.bitbucket_list_issues
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
state string no Filter by issue state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid.
kind string no Filter by kind: bug, enhancement, proposal, task.
priority string no Filter by priority: trivial, minor, major, critical, blocker.
pagelen integer no Number of results per page (1-100). Default: 10.

bitbucket_get_issue

Get details for a specific issue in a Bitbucket repository.

Operation
Read read
Full name
bitbucket.bitbucket_get_issue
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
issue_id integer yes The issue identifier.

bitbucket_create_issue

Create a new issue in a Bitbucket repository. Requires a title; optionally set content, kind, priority, and assignee.

Operation
Write write
Full name
bitbucket.bitbucket_create_issue
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
title string yes The title of the issue.
content string no The issue description (Markdown supported).
kind string no Issue kind: bug, enhancement, proposal, task. Default: bug.
priority string no Issue priority: trivial, minor, major, critical, blocker. Default: major.
assignee string no The UUID of the user to assign the issue to.

bitbucket_update_issue

Update an existing issue in a Bitbucket repository. Can change title, content, state, priority, and assignee.

Operation
Write write
Full name
bitbucket.bitbucket_update_issue
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
issue_id integer yes The issue identifier.
title string no The new title of the issue.
content string no The new issue description (Markdown supported).
state string no New state: new, open, resolved, closed, on hold, wontfix, duplicate, invalid.
priority string no New priority: trivial, minor, major, critical, blocker.
assignee string no The UUID of the user to assign the issue to.

bitbucket_list_pull_requests

List pull requests in a Bitbucket repository. Supports filtering by state and pagination.

Operation
Read read
Full name
bitbucket.bitbucket_list_pull_requests
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
state string no Filter by state: OPEN, MERGED, DECLINED, SUPERSEDED.
pagelen integer no Number of results per page (1-100). Default: 10.

bitbucket_get_pull_request

Get details for a specific pull request in a Bitbucket repository.

Operation
Read read
Full name
bitbucket.bitbucket_get_pull_request
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
pr_id integer yes The pull request identifier.

bitbucket_create_pull_request

Create a new pull request in a Bitbucket repository. Requires a title, source branch, and destination branch.

Operation
Write write
Full name
bitbucket.bitbucket_create_pull_request
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
title string yes The title of the pull request.
description string no The pull request description (Markdown supported).
source_branch string yes The name of the source branch.
destination_branch string no The name of the destination branch. Default: main.
close_source_branch boolean no Whether to close the source branch after merge. Default: false.

bitbucket_merge_pull_request

Merge a Bitbucket pull request. Optionally provide a merge commit message.

Operation
Write write
Full name
bitbucket.bitbucket_merge_pull_request
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
pr_id integer yes The pull request identifier.
merge_commit_message string no An optional message for the merge commit.

bitbucket_list_branches

List branches in a Bitbucket repository. Supports pagination.

Operation
Read read
Full name
bitbucket.bitbucket_list_branches
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
pagelen integer no Number of results per page (1-100). Default: 10.

bitbucket_create_branch

Create a new branch in a Bitbucket repository. Requires a branch name and the target commit hash.

Operation
Write write
Full name
bitbucket.bitbucket_create_branch
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
name string yes The name for the new branch.
target_hash string yes The commit hash to branch from.

bitbucket_list_commits

List commits in a Bitbucket repository. Supports filtering by revision and path.

Operation
Read read
Full name
bitbucket.bitbucket_list_commits
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
revision string no A commit hash, branch name, or tag to list commits for.
path string no Filter commits to those affecting a specific file path.
pagelen integer no Number of results per page (1-100). Default: 10.

bitbucket_get_file

Get the raw content of a file from a Bitbucket repository at a specific revision.

Operation
Read read
Full name
bitbucket.bitbucket_get_file
ParameterTypeRequiredDescription
workspace string yes The workspace slug or UUID.
repo_slug string yes The repository slug.
revision string yes A commit hash, branch name, or tag.
file_path string yes The path to the file within the repository.