Upload document (LinkedIn)
upload_documentPublishes PDF, PPT, PPTX, DOC, or DOCX documents to LinkedIn with a required title, optional first comment, preview approval, and scheduling or queueing.
Instructions
Publish a document (PDF / PPT / PPTX / DOC / DOCX) to LinkedIn. Title is required. firstComment posts a comment under the document right after it is published. LinkedIn mentions: write @Exact Page Name, @Name or @company-vanity in the LinkedIn text. A company name must match the Page's name on LinkedIn exactly, capitals included, or it is published as plain text. Publishing now needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve. Calls with scheduledDate or addToQueue run straight away, since the post can still be reviewed and cancelled before it goes out.
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": {
"documentPathOrUrl": "<documentPathOrUrl>",
"title": "<title>",
"user": "<user>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| title | Yes | ||
| timezone | No | IANA timezone for scheduled date, e.g. 'Europe/Madrid'. | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| addToQueue | No | Insert into the user's posting queue instead of publishing now. | |
| asyncUpload | No | Return immediately with request_id (default true). | |
| description | No | ||
| firstComment | No | Comment posted under the document post right after publishing (e.g. the link you kept out of the post text). Cannot be changed once the post is scheduled. | |
| scheduledDate | No | ISO 8601 date for scheduled publishing, e.g. '2026-12-25T10:00:00Z'. Omit for immediate post. | |
| maxPostsPerSlot | No | ||
| documentPathOrUrl | Yes | ||
| linkedinVisibility | No | ||
| targetLinkedinPageId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |