get_attachment
Download an attachment from a Bitbucket repository using its numeric ID. Returns file content for text attachments or size summary for binary files.
Instructions
Download an attachment from a repository by its numeric ID.
Returns content for text files or a size summary for binary files.
Args: project_key: The project key. repo_slug: The repository slug. attachment_id: The numeric attachment ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |