linkedin_upload_document
Upload a local document (PDF) and return its document URN to publish a LinkedIn document or carousel-style post.
Instructions
Upload a local document (e.g. PDF) and return its document URN.
Reference the returned urn:li:document:... via document_urn on
linkedin_create_post to publish a document/carousel-style post.
Args: author_urn: The owner URN. file_path: Absolute path to a local document (PDF).
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": {
"author_urn": "<author_urn>",
"file_path": "<file_path>"
},
"name": "linkedin_upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| author_urn | Yes |