# Issue programs: schedule, triage

URL: /code/mcp/issue/verbs-schedule · Id: `page:code/mcp/issue/verbs-schedule`

> The Issue Verbs schedule, triage as MCP do programs, with inputs, result, refusals and an example.

Reference for [Issue](/business/nouns/issue), one group of [Issue programs](/code/mcp/issue).

### Issue.schedule
Schedule commits an Issue to a week of work and records each scope change after the week starts. [Verb page](/business/nouns/issue/schedule?interface=mcp).

```text
do: return await $.Issue.schedule(input)
```

Emits [`Issue.scheduled`](/business/events/Issue.scheduled).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `issue` | [Issue](/business/nouns/issue) | Yes | The Issue to commit. |
| `week` | `date` | Yes | The first day of the week it is committed to. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `issue` | [Issue](/business/nouns/issue) | Yes | The scheduled Issue. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Issue.schedule({ issue: 'issue_vWekeqrXCN', week: '2026-10-22' })"
  }
}
```

### Issue.triage
Triage sets an Issue’s severity and owning Role from its content and the Customer it affects. [Verb page](/business/nouns/issue/triage?interface=mcp).

```text
do: return await $.Issue.triage(input)
```

Emits [`Issue.triaged`](/business/events/Issue.triaged).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `issue` | [Issue](/business/nouns/issue) | Yes | The new Issue. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `issue` | [Issue](/business/nouns/issue) | Yes | The triaged Issue. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
| The record is not in a state that allows this Verb, so the call is refused. | [`refused`](/code/api/errors/refused) | Read the record, run the Verb that moves it to an allowed state, then retry. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Issue.triage({ issue: 'issue_vWekeqrXCN' })"
  }
}
```