list_posts
Retrieve posts for a campaign using cursor pagination. Set page size, include full HTML when needed, and omit campaign ID only if the token sees one campaign.
Instructions
List posts for a campaign with cursor pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | next_cursor from a previous list_posts call. | |
| page_size | No | Results per page (1-1000). | |
| campaign_id | No | Campaign ID. Omit only when the token can see exactly one campaign. | |
| include_content | No | Include full post HTML. Off by default because post bodies can be large. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | No | ||
| total | No | ||
| next_cursor | No |