> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Calendar & Tags MCP Tools

> Retrieve structured multi-channel calendar schedules and organize workspace assets with custom color tags.

Retrieve structured multi-channel calendar schedules and organize workspace assets with custom color tags.

All tools in this suite operate on workspace objects and support dual execution via our REST API.

***

## Available Tools (6)

### `get_schedule`

Retrieve scheduled posts across channels grouped chronologically for content calendar rendering.

* **Scope**: `calendar:read`
* **REST Route**: [`POST /api/v1/calendar`](https://docs.posttu.com/api-reference/calendar/get-schedule)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `from` | `string` | No | Optional ISO date string start boundary (defaults to 7 days ago) |
| `to` | `string` | No | Optional ISO date string end boundary (defaults to now) |
| `channelId` | `string` | No | Optional channel ID filter |
| `limit` | `number` | No | Optional max number of posts to return |
| `cursor` | `string` | No | Optional pagination cursor ID |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_schedule",
    "arguments": {
      "from": "2026-06-01T12:00:00Z",
      "to": "2026-06-01T12:00:00Z",
      "channelId": "chn_live_12345",
      "limit": 10,
      "cursor": "example_value"
    }
  }
}
```

***

### `list_tags`

List all tags created in the organization.

* **Scope**: `tags:read`
* **REST Route**: [`GET /api/v1/tags`](https://docs.posttu.com/api-reference/tags/list-tags)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `search` | `string` | No | Optional name search query filter |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_tags",
    "arguments": {
      "search": "example_value"
    }
  }
}
```

***

### `create_tag`

Create a new organization tag with hex colors.

* **Scope**: `tags:write`
* **REST Route**: [`POST /api/v1/tags`](https://docs.posttu.com/api-reference/tags/create-tag)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `name` | `string` | **Yes** | Name of the tag |
| `color` | `string` | No | Hex color code for the background (e.g. #3B82F6) |
| `textColor` | `string` | No | Hex color code for text (e.g. #FFFFFF) |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_tag",
    "arguments": {
      "name": "example_value",
      "color": "example_value",
      "textColor": "example_value"
    }
  }
}
```

***

### `update_tag`

Update an existing tag's name or color theme.

* **Scope**: `tags:write`
* **REST Route**: [`PATCH /api/v1/tags/{id}`](https://docs.posttu.com/api-reference/tags/update-tag)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `id` | `string` | **Yes** | Tag ID to update |
| `name` | `string` | No | Updated tag name |
| `color` | `string` | No | Updated hex background color |
| `textColor` | `string` | No | Updated hex text color |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_tag",
    "arguments": {
      "id": "id_example",
      "name": "example_value",
      "color": "example_value",
      "textColor": "example_value"
    }
  }
}
```

***

### `delete_tag`

Delete a tag by ID.

* **Scope**: `tags:write`
* **REST Route**: [`DELETE /api/v1/tags/{id}`](https://docs.posttu.com/api-reference/tags/delete-tag)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `id` | `string` | **Yes** | Tag ID to delete |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_tag",
    "arguments": {
      "id": "id_example"
    }
  }
}
```

***

### `tag_item`

Attach or remove a tag on a target item (post, inbox thread, workflow, or media).

* **Scope**: `tags:write`
* **REST Route**: [`PATCH /api/v1/tags/item`](https://docs.posttu.com/api-reference/tags/tag-item)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `tagId` | `string` | **Yes** | Tag ID |
| `action` | `string` | **Yes** | Action to perform (add or remove tag) |
| `item` | `object` | **Yes** | Target item specification |
| `item.id` | `string` | **Yes** | Target item ID |
| `item.type` | `string` | **Yes** | Type of item being tagged |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tag_item",
    "arguments": {
      "tagId": "tagId_example",
      "action": "example_value",
      "item": {
        "id": "id_example",
        "type": "example_value"
      }
    }
  }
}
```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.