View Issue Attachment
GitHubViewIssueAttachmentTool · Tools · Connections
Open an attachment listed by github_get_issue or github_list_issue_comments. A PDF or an image (PNG, JPEG, GIF or WebP up to 5 MB) is shown to you in a message right after this call's result; a text file returns its text, cut at 100,000 characters. Anything else, and any file over 50 MB, returns the file's details and says it can't be displayed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
attachment_id | string | Yes | Attachment id listed by the reading tool. |
issue_number | integer | Yes | Issue number. |
owner | string | No | Repository owner; defaults to the connection's account. |
repo | string | Yes | Repository name without the owner. |
View Issue Attachment Tool#
github_view_issue_attachment opens a file for the agent to inspect in the conversation.
When to Use#
Open a GitHub upload from an issue description or conversation comment. Find its reference with github_get_issue, github_get_issue_comment or github_list_issue_comments.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
owner |
string | No | The repository owner; defaults to the connected account |
repo |
string | Yes | The repository name without the owner |
issue_number |
integer | Yes | The issue number |
attachment_id |
string | Yes | The id from the read result’s attachments list |
Returns#
The result includes owner, repo and issue_number alongside the file’s details in attachment and one of three view values:
shown: A PDF or an image (PNG, JPEG, GIF or WebP up to 5 MB) follows the tool results in the conversation.text: Thetextfield contains up to 100,000 characters, with anoteif the text was cut.not_viewable: Areasonandnoteexplain why the file cannot be displayed. This includes unsupported formats or files over 50 MB.
Notes#
The github_issues group includes this tool under view_issue_attachment. It works with GitHub OAuth and GitHub App installation connections if GitHub serves the file to that connection.
Verdalia keeps shown files privately for 7 days without making a Library item or a share link.