Create Document Post (PDF, LinkedIn only)
create_document_postCreate a swipeable document post from a PDF (public URL) — the format LinkedIn shows as a page-by-page carousel. LinkedIn is the ONLY platform that renders a PDF: if LinkedIn is not connected the tool returns a connect link, which you should give the user. Instagram can be added when the post is PUBLISHED — the pages then go out there as an image carousel — so one post is created, not two. Provide either a ready caption or a context for AI to write one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentUrl": "<documentUrl>"
},
"name": "create_document_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title shown on the LinkedIn document card. Defaults to a readable form of the filename. | |
| caption | No | Caption to use as-is | |
| context | No | What the document is about — used to AI-generate the caption if none is given | |
| documentUrl | Yes | Public HTTP/HTTPS URL of the PDF document | |
| createCarousel | No | Also create a SEPARATE Instagram carousel post from the pages right now (max 10 slides). Default false — Instagram is normally added at publish time instead. |