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

# Objects

> Every object and enum the Issues tools accept.

## Model tree

<div className="model-tree"><div className="model-tree-scroll"><div className="tree-node"><a href="#issuecreatebody">IssueCreateBody</a></div><div className="tree-node"><a href="#issueupdatebody">IssueUpdateBody</a></div><div className="tree-node"><a href="#commentcreatebody">CommentCreateBody</a></div></div></div>

## IssueCreateBody

The body of a create-issue request.

<div className="reference-table">
  | Field                                                         | Type                  | Description                                                     |
  | ------------------------------------------------------------- | --------------------- | --------------------------------------------------------------- |
  | `title` <span className="required" title="required">\*</span> | `string`              | The title of the issue.                                         |
  | `body`                                                        | `string`              | The contents of the issue.                                      |
  | `milestone`                                                   | `integer` \| `string` | The number of the milestone to associate this issue with.       |
  | `labels`                                                      | `string`\[]           | Labels to associate with this issue. Pass label names, not IDs. |
  | `assignees`                                                   | `string`\[]           | Logins for Users to assign to this issue.                       |
</div>

## IssueUpdateBody

The body of an update-issue request.

<div className="reference-table">
  | Field         | Type                                | Description                                                                                                      |
  | ------------- | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
  | `title`       | `string`                            | The title of the issue.                                                                                          |
  | `body`        | `string`                            | The contents of the issue.                                                                                       |
  | `state`       | [PullUpdateState](#pullupdatestate) | The open or closed state of the issue.                                                                           |
  | `stateReason` | [StateReason](#statereason)         | The reason for the state change. Ignored unless `state` is changed.                                              |
  | `milestone`   | `integer` \| `string`               | The number of the milestone to associate this issue with. Set to null to remove the current milestone.           |
  | `labels`      | `string`\[]                         | Labels to associate with this issue. Pass one or more label names to *replace* the set of labels on this issue.  |
  | `assignees`   | `string`\[]                         | Usernames to assign to this issue. Pass one or more user logins to *replace* the set of assignees on this issue. |
</div>

## CommentCreateBody

The body of a create-comment request.

<div className="reference-table">
  | Field                                                        | Type     | Description                  |
  | ------------------------------------------------------------ | -------- | ---------------------------- |
  | `body` <span className="required" title="required">\*</span> | `string` | The contents of the comment. |
</div>

## SortDirection

<div className="enum-table">
  | Value  |
  | ------ |
  | `asc`  |
  | `desc` |
</div>

## IssueFilter

<div className="enum-table">
  | Value        |
  | ------------ |
  | `assigned`   |
  | `created`    |
  | `mentioned`  |
  | `subscribed` |
  | `repos`      |
  | `all`        |
</div>

## IssueSort

<div className="enum-table">
  | Value      |
  | ---------- |
  | `created`  |
  | `updated`  |
  | `comments` |
</div>

## IssueState

<div className="enum-table">
  | Value    |
  | -------- |
  | `open`   |
  | `closed` |
  | `all`    |
</div>

## LockReason

<div className="enum-table">
  | Value        |
  | ------------ |
  | `off-topic`  |
  | `too heated` |
  | `resolved`   |
  | `spam`       |
</div>

## MilestoneSort

<div className="enum-table">
  | Value          |
  | -------------- |
  | `due_on`       |
  | `completeness` |
</div>

## StateReason

<div className="enum-table">
  | Value         |
  | ------------- |
  | `completed`   |
  | `not_planned` |
  | `duplicate`   |
  | `reopened`    |
</div>

## PullUpdateState

<div className="enum-table">
  | Value    |
  | -------- |
  | `open`   |
  | `closed` |
</div>
