Atlassian · Capability
Atlassian Bit Bucket Repositories API — Directories
Atlassian Bit Bucket Repositories API — Directories. 2 operations. Lead operation: Atlassian Get the Root Directory of the Main Branch. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Gettherootdirectoryofthemainbranch
— Atlassian Get the Root Directory of the Main Branch
/v1/repositories/{workspace}/{repo-slug}/src
GET
Getfileordirectorycontents
— Atlassian Get File or Directory Contents
/v1/repositories/{workspace}/{repo-slug}/src/{commit}/{path}
MCP Tools
atlassian-get-root-directory-main
Atlassian Get the Root Directory of the Main Branch
read-only
idempotent
atlassian-get-file-directory-contents
Atlassian Get File or Directory Contents
read-only
idempotent