edit_issue_attachment
Rename an issue attachment by its ID to update the displayed filename. Provide the issue number, attachment ID, and new name to change how the file appears in Gitea.
Instructions
Edit one issue attachment by attachment_id — renames it (name is the new filename). Get the id from list_issue_attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New attachment name | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Issue number | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| attachment_id | Yes | Attachment ID |