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

# Facebook MCP Tools

> Model Context Protocol (MCP) tool reference for connected Facebook accounts.

The Posttu MCP server exposes **22 tools** for interacting directly with connected **Facebook** channels.

### Requirements & Scopes

* **Connected Channel**: The target Facebook account must be connected in your workspace. Pass the channel's identifier as the `channelId` parameter.
* **Scope Permissions**:
  * Reads require `facebook:read` (or `mcp:full`).
  * Mutations require `facebook:write` (or `mcp:full`).
* **Dual Execution**: Every tool maps 1:1 to Posttu's REST API.

***

## Available Tools (22)

## Account

### `facebook_account_me`

Get the Facebook page profile

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/account/me`](https://docs.posttu.com/api-reference/facebook/account/account-me)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `userId` | `string` | No | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_account_me",
    "arguments": {
      "channelId": "chn_live_12345",
      "userId": "userId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_account_picture`

Get the Facebook page picture

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/account/picture`](https://docs.posttu.com/api-reference/facebook/account/account-picture)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `pageId` | `string` | No | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_account_picture",
    "arguments": {
      "channelId": "chn_live_12345",
      "pageId": "pageId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

## Analytics

### `facebook_account_overview`

Get Facebook page overview metrics

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/account/overview`](https://docs.posttu.com/api-reference/facebook/analytics/account-overview)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `pageId` | `string` | No | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_account_overview",
    "arguments": {
      "channelId": "chn_live_12345",
      "pageId": "pageId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_analytics`

Query Facebook insights

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

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `id` | `string` | **Yes** | — |
| `metrics` | `array` | No | — |
| `since` | `string` | No | — |
| `until` | `string` | No | — |
| `period` | `string` | No | — |
| `breakdown` | `string` | No | — |
| `datePreset` | `string` | No | — |
| `showDescriptionFromApiDoc` | `boolean` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_analytics",
    "arguments": {
      "channelId": "chn_live_12345",
      "id": "id_example",
      "metrics": [
        "item_1"
      ],
      "since": "example_value",
      "until": "example_value",
      "period": "example_value",
      "breakdown": "example_value",
      "datePreset": "2026-06-01T12:00:00Z",
      "showDescriptionFromApiDoc": false
    }
  }
}
```

***

### `facebook_posts_analytics_video`

Get Facebook video analytics

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/posts/analytics/video`](https://docs.posttu.com/api-reference/facebook/analytics/posts-analytics-video)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `videoId` | `string` | **Yes** | — |
| `metrics` | `array` | **Yes** | — |
| `since` | `string` | No | — |
| `until` | `string` | No | — |
| `period` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_analytics_video",
    "arguments": {
      "channelId": "chn_live_12345",
      "videoId": "videoId_example",
      "metrics": [
        "item_1"
      ],
      "since": "example_value",
      "until": "example_value",
      "period": "example_value"
    }
  }
}
```

***

## Messaging

### `facebook_conversations`

List Facebook conversations

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations`](https://docs.posttu.com/api-reference/facebook/messaging/conversations)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `fields` | `array` | No | — |
| `limit` | `number` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations",
    "arguments": {
      "channelId": "chn_live_12345",
      "fields": [
        "item_1"
      ],
      "limit": 10
    }
  }
}
```

***

### `facebook_conversations_messages`

List Facebook conversation messages

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations/messages`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-messages)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `chatId` | `string` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_messages",
    "arguments": {
      "channelId": "chn_live_12345",
      "chatId": "chatId_example"
    }
  }
}
```

***

### `facebook_conversations_message_send`

Send a Facebook DM

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/conversations/message/send`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-message-send)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `chatId` | `string` | **Yes** | — |
| `messageData` | `object` | **Yes** | — |
| `messageData.fansly` | `object` | No | — |
| `messageData.fansly.lockedText` | `array` | No | — |
| `messageData.fansly.media` | `array` | No | — |
| `messageData.onlyfans` | `object` | No | — |
| `messageData.onlyfans.lockedText` | `boolean` | No | — |
| `messageData.price` | `number` | No | — |
| `messageData.message` | `string` | No | — |
| `messageData.media` | `array` | No | — |
| `messageData.mediaPreviewIds` | `array` | No | — |
| `messageData.scheduledFor` | `any` | No | — |
| `messageData.replyTo` | `string` | No | — |
| `messageData.meta` | `object` | No | — |
| `messageData.meta.messagingType` | `string` | No | — |
| `messageData.meta.messageTag` | `string` | No | — |
| `messageData.meta.commentId` | `string` | No | — |
| `messageData.meta.comment_id` | `string` | No | — |
| `messageData.meta.postId` | `string` | No | — |
| `messageData.meta.post_id` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_message_send",
    "arguments": {
      "channelId": "chn_live_12345",
      "chatId": "chatId_example",
      "messageData": {
        "price": 10,
        "message": "example_value",
        "media": [],
        "mediaPreviewIds": [
          "med_asset_123"
        ],
        "scheduledFor": "value",
        "replyTo": "example_value"
      }
    }
  }
}
```

***

### `facebook_conversations_get`

Get a Facebook conversation

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

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `conversationId` | `string` | **Yes** | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_get",
    "arguments": {
      "channelId": "chn_live_12345",
      "conversationId": "conversationId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_conversations_list`

List conversations for a Facebook page

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations/list`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-list)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `pageId` | `string` | No | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_list",
    "arguments": {
      "channelId": "chn_live_12345",
      "pageId": "pageId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_conversations_find`

Find the conversation with a Facebook user

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations/find`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-find)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `userId` | `string` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_find",
    "arguments": {
      "channelId": "chn_live_12345",
      "userId": "userId_example"
    }
  }
}
```

***

### `facebook_conversations_owned`

List conversations owned by the page

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations/owned`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-owned)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `ownedOnly` | `boolean` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_owned",
    "arguments": {
      "channelId": "chn_live_12345",
      "ownedOnly": false
    }
  }
}
```

***

### `facebook_conversations_message_get`

Get a Facebook message

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/conversations/message/get`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-message-get)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `messageId` | `string` | **Yes** | — |
| `fields` | `array` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_message_get",
    "arguments": {
      "channelId": "chn_live_12345",
      "messageId": "messageId_example",
      "fields": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_conversations_message_send_media`

Send a Facebook media attachment

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/conversations/message/send/media`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-message-send-media)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `chatId` | `string` | **Yes** | — |
| `type` | `string` | **Yes** | — |
| `url` | `string` | **Yes** | — |
| `isReusable` | `boolean` | No | — |
| `messagingType` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_message_send_media",
    "arguments": {
      "channelId": "chn_live_12345",
      "chatId": "chatId_example",
      "type": "example_value",
      "url": "https://example.com/asset",
      "isReusable": false,
      "messagingType": "example_value"
    }
  }
}
```

***

### `facebook_conversations_message_send_images`

Send Facebook images in a conversation

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/conversations/message/send/images`](https://docs.posttu.com/api-reference/facebook/messaging/conversations-message-send-images)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `chatId` | `string` | **Yes** | — |
| `imageUrls` | `array` | **Yes** | — |
| `messagingType` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_conversations_message_send_images",
    "arguments": {
      "channelId": "chn_live_12345",
      "chatId": "chatId_example",
      "imageUrls": [
        "item_1"
      ],
      "messagingType": "example_value"
    }
  }
}
```

***

## Posts

### `facebook_posts_get`

Get a Facebook post

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

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `postId` | `string` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_get",
    "arguments": {
      "channelId": "chn_live_12345",
      "postId": "postId_example"
    }
  }
}
```

***

### `facebook_posts_list`

List Facebook posts

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

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `limit` | `number` | No | — |
| `cursor` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_list",
    "arguments": {
      "channelId": "chn_live_12345",
      "limit": 10,
      "cursor": "example_value"
    }
  }
}
```

***

### `facebook_posts_delete`

Delete Facebook posts

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/posts/delete`](https://docs.posttu.com/api-reference/facebook/posts/posts-delete)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `postIds` | `array` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_delete",
    "arguments": {
      "channelId": "chn_live_12345",
      "postIds": [
        "item_1"
      ]
    }
  }
}
```

***

### `facebook_posts_overview`

Get Facebook post overview metrics

* **Scope**: `facebook:read`
* **REST Route**: [`POST /api/v1/facebook/posts/overview`](https://docs.posttu.com/api-reference/facebook/posts/posts-overview)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `postId` | `string` | **Yes** | — |
| `includeComments` | `boolean` | No | — |
| `since` | `string` | No | — |
| `until` | `string` | No | — |
| `period` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_overview",
    "arguments": {
      "channelId": "chn_live_12345",
      "postId": "postId_example",
      "includeComments": false,
      "since": "example_value",
      "until": "example_value",
      "period": "example_value"
    }
  }
}
```

***

## Comments

### `facebook_posts_comments_create`

Create a Facebook comment

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

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `externalCommentId` | `string` | No | — |
| `externalPostId` | `string` | No | — |
| `messageData` | `object` | **Yes** | — |
| `messageData.media` | `array` | No | — |
| `messageData.message` | `string` | No | — |
| `messageData.fansly` | `object` | No | — |
| `messageData.fansly.lockedText` | `array` | No | — |
| `messageData.fansly.media` | `array` | No | — |
| `messageData.onlyfans` | `object` | No | — |
| `messageData.onlyfans.price` | `number` | No | — |
| `messageData.onlyfans.lockedText` | `boolean` | No | — |
| `messageData.mastodon` | `object` | No | — |
| `messageData.mastodon.sensitive` | `boolean` | No | — |
| `messageData.mastodon.spoiler_text` | `string` | No | — |
| `messageData.mastodon.visibility` | `string` | No | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_comments_create",
    "arguments": {
      "channelId": "chn_live_12345",
      "externalCommentId": "externalCommentId_example",
      "externalPostId": "externalPostId_example",
      "messageData": {
        "media": [],
        "message": "example_value"
      }
    }
  }
}
```

***

### `facebook_posts_comments_delete`

Delete a Facebook comment

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/posts/comments/delete`](https://docs.posttu.com/api-reference/facebook/comments/posts-comments-delete)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `externalCommentId` | `string` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_comments_delete",
    "arguments": {
      "channelId": "chn_live_12345",
      "externalCommentId": "externalCommentId_example"
    }
  }
}
```

***

### `facebook_posts_comments_hide`

Hide a Facebook comment

* **Scope**: `facebook:write`
* **REST Route**: [`POST /api/v1/facebook/posts/comments/hide`](https://docs.posttu.com/api-reference/facebook/comments/posts-comments-hide)

#### Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `channelId` | `string` | **Yes** | — |
| `externalCommentId` | `string` | **Yes** | — |

#### Example Tool Call

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "facebook_posts_comments_hide",
    "arguments": {
      "channelId": "chn_live_12345",
      "externalCommentId": "externalCommentId_example"
    }
  }
}
```

***


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