> ## 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.

# issues_add_labels

> Add labels to an issue, keeping the ones already on it. Use this rather than `issues_update` to label something: `issues_update` *replaces* the whole set, so adding one label there removes the rest.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.github.com/repos/{owner}/{repo}/issues/{issueNumber}/labels"}</code></div>

```python github_issues_add_labels.py theme={null}
from charter.packs import github

result = await github.issues_add_labels.ainvoke({"owner": ..., "repo": ..., "issueNumber": ..., "labels": ...})
```

<Note>
  Requires `repo`, `read:user`.
</Note>

## Path parameters

<div className="reference-table">
  | Field                                                               | Type      | Description                                                                              |
  | ------------------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------- |
  | `owner` <span className="required" title="required">\*</span>       | `string`  | The account owner of the repository. The name is not case sensitive.                     |
  | `repo` <span className="required" title="required">\*</span>        | `string`  | The name of the repository without the `.git` extension. The name is not case sensitive. |
  | `issueNumber` <span className="required" title="required">\*</span> | `integer` | The number that identifies the issue.                                                    |
</div>

## Body

<div className="reference-table">
  | Field                                                          | Type        | Description                                                                                                                                                      |
  | -------------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `labels` <span className="required" title="required">\*</span> | `string`\[] | The names of the labels to add to the issue's existing labels. Each must already exist on the repository. <span className="field-constraints">min 1 items</span> |
</div>
