bitbucket_source_get
Read file contents or list directory at any Bitbucket revision. Check file metadata first with metaOnly to avoid large downloads.
Instructions
Read a file's contents or list a directory at a given revision. Omit path (or use "") for the repository root. Set metaOnly: true to check a file's size/type without fetching its full contents - do this first for anything that might be large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File or directory path; omit for the repository root | |
| metaOnly | No | Return JSON metadata (size, type, attributes) instead of full file contents | |
| repoSlug | Yes | ||
| revision | Yes | Branch name, tag, or commit hash - e.g. 'main' or a PR's source branch | |
| workspace | No | Omit to use the configured default workspace |