# resume_queue

Source: https://modulify.ai/docs/mcp/chat/resume-queue

Releases the parked message queue of one chat and runs the message at the front of it.

- Title: Resume a parked queue
- Scope: `chat:write`
- Access: Makes changes

It works on one chat, which is `main`, the chat every site comes with, unless you pass `chatId`. A queue parks when the last generation in that chat was stopped, ended in an error (other than `SC-6002`, after which the queue carries on by itself) or ended part way through, and this is the only way past that hold. The platform deliberately stops working through the queue after a failure until a person or an agent has looked at it, so a message queued with `queueResumable:true` waits forever otherwise.

Read the failure with `get_job` first, and remove or rewrite anything queued that the failure made pointless, because everything still in the queue runs in order once you resume. The response carries whatever is still queued afterwards, and you poll `get_job` to follow the message it started.

Calling it on a chat that is simply busy does nothing, and the running generation is never interrupted. It is refused, with the same message `send_message` would give, while the GitHub repository that holds the site blocks editing, and the queue then stays parked until that is resolved. See [When the queue pauses](https://modulify.ai/docs/build/message-queue#when-the-queue-pauses).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id, from `list_sites` or `get_site`. |
| `chatId` | string | No | The chat whose queue to resume: `main` for the chat every site comes with, or the `chatKey` of another chat from `list_chats`. Defaults to `main`. |