List posts
list_postsThe posts of the social groups this key can use, made here or in the Sociro app. Each post says its social_group_id. Filter by group, status and date. Drafts are left out unless you ask for status DRAFT. Read only.
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 |
|---|---|---|---|
| to | No | ISO date or datetime. Posts scheduled or published on or before it. | |
| from | No | ISO date or datetime. Posts scheduled or published on or after it. | |
| page | No | ||
| order | No | By scheduled time. Default desc. | |
| status | No | Leave out for everything that will go out or has gone out. DRAFT lists the saved drafts. | |
| per_page | No | Default 20. | |
| social_group_id | No | Only the posts of this social group. Without it, every group this key can use. |