create_document_post
Create LinkedIn posts with document attachments like PDFs, PPTX, or DOCX files that appear as carousel slideshows in the feed for sharing presentations, guides, or reports.
Instructions
Create a LinkedIn post with a document (PDF, PPTX, DOCX) using the Official API.
Documents appear as carousel-style slideshows in the LinkedIn feed. Great for sharing presentations, guides, reports, etc.
Requires "Share on LinkedIn" product enabled in your LinkedIn Developer app.
Supported formats: PDF (recommended), PPTX, DOCX Maximum file size: 100MB
Args: text: Post text content (max 3000 characters) document_path: Document source - can be: - Absolute path to local file (PDF, PPTX, DOCX) - URL to document (http:// or https://) title: Optional title for the document (defaults to filename) visibility: Post visibility - PUBLIC or CONNECTIONS
Returns the created post details including post URN and document URN.
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": {
"text": "<text>",
"document_path": "<document_path>"
},
"name": "create_document_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| document_path | Yes | ||
| title | No | ||
| visibility | No | PUBLIC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||