# set_queue_slots

Source: https://heyeveryone.ai/docs/mcp/set_queue_slots

> Replace a channel account's weekly queue slots: a list of { dayOfWeek (0 = Monday ... 6 = Sunday), localTime "HH:MM" } in the workspace's time zone. add_to_queue puts posts into the next free slot. Pass an empty list to clear the queue. Posts already scheduled keep their times.

Replace a channel account's weekly queue slots: a list of { dayOfWeek (0 = Monday ... 6 = Sunday), localTime "HH:MM" } in the workspace's time zone. add_to_queue puts posts into the next free slot. Pass an empty list to clear the queue. Posts already scheduled keep their times.

## Access and cost

- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false

## Input schema

```json
{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "channelAccountId": {
      "format": "uuid",
      "type": "string"
    },
    "slots": {
      "items": {
        "properties": {
          "dayOfWeek": {
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "localTime": {
            "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "localTime"
        ],
        "type": "object"
      },
      "maxItems": 200,
      "type": "array"
    }
  },
  "required": [
    "workspaceId",
    "channelAccountId",
    "slots"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "channelAccountId": {
      "format": "uuid",
      "type": "string"
    },
    "slots": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "dayOfWeek": {
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "localTime": {
            "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "day": {
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "localTime",
          "id",
          "day"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "nextFree": {
      "items": {
        "format": "date-time",
        "type": "string"
      },
      "type": "array"
    },
    "timeZone": {
      "type": "string"
    }
  },
  "required": [
    "channelAccountId",
    "slots",
    "nextFree",
    "timeZone"
  ],
  "type": "object"
}
```

## Errors

```json
[]
```

## Annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Set queue slots"
}
```
