publish_linkedin_post
Publish text posts to LinkedIn with optional media attachments. Include images or videos by specifying direct URLs to enhance your content visibility and engagement.
Instructions
Publish a text post to LinkedIn, optionally including media (images/videos) specified by URL.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
media | No | Optional. A list of media items to attach to the post. Each item must have a 'file_url' pointing to a direct image or video URL and a 'filename'. | |
post_text | Yes | The text content of the LinkedIn post. |
Input Schema (JSON Schema)
{
"properties": {
"media": {
"description": "Optional. A list of media items to attach to the post. Each item must have a 'file_url' pointing to a direct image or video URL and a 'filename'.",
"items": {
"properties": {
"file_url": {
"description": "A direct URL to the image or video file (e.g., ending in .jpg, .png, .mp4).",
"type": "string"
},
"filename": {
"description": "A filename for the media item (e.g., 'promo_video.mp4').",
"type": "string"
}
},
"required": [
"file_url",
"filename"
],
"type": "object"
},
"type": "array"
},
"post_text": {
"description": "The text content of the LinkedIn post.",
"type": "string"
}
},
"required": [
"post_text"
],
"type": "object"
}