Preview a LinkedIn post
preview_postShow exactly what a LinkedIn text, link, or image post will contain before publishing, without uploading images or creating the post.
Instructions
Shows exactly what would be sent to LinkedIn for a text, link or image post, without publishing anything or uploading images. Use this to show the user the post before creating it.
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>"
},
"name": "preview_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link to share. | |
| kind | No | text | |
| text | Yes | Post text. #hashtags are kept as hashtags; other formatting characters are posted literally. | |
| title | No | Title shown on the link card (LinkedIn does not fetch it from the page). | |
| alt_text | No | Alt text for screen readers. | |
| image_url | No | https:// URL of a PNG, JPEG or GIF to download and attach. | |
| image_path | No | Local path to a PNG, JPEG or GIF (max 8 MB). | |
| visibility | No | PUBLIC (anyone) or CONNECTIONS (your 1st-degree network). | PUBLIC |
| description | No | Optional description shown on the link card. | |
| thumbnail_path | No | Optional local PNG/JPEG/GIF to use as the link card image. |