> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# attachment_update

> Update an attachment's title, subtitle or icon. `title` is required even when you only mean to change the subtitle — that is Linear's rule, so read the attachment first if you do not know it.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.linear.app/graphql"}</code></div>

```python linear_attachment_update.py theme={null}
from charter.packs import linear

result = await linear.attachment_update.ainvoke({"variables": ...})
```

<Note>
  Posts a GraphQL document to `POST /graphql`, as every tool in this pack does.
</Note>

## Body

<div className="reference-table">
  | Field                                                             | Type                                                                                             | Description               |
  | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------- |
  | `variables` <span className="required" title="required">\*</span> | [AttachmentUpdateVariables](/charter/charter/packs/linear/attachments/objects#attachmentupdatevariables) | The attachment to update. |
</div>
