send_message
Send a LinkedIn DM via Voyager createMessage: use conversation_linkedin_id for an existing thread or recipient_linkedin_id for a new DM. Use for the classic inbox: conversation_linkedin_id to reply in a thread, recipient_linkedin_id for a new one (1st-degree connections, or InMail). Counts against the daily messages quota; for a Sales Navigator thread use salesnav_send_message; for more than ten messages use create_job.
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": {
"account_id": "<account_id>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Plain text to send or post. | |
| page_id | No | Reply as this company page (page_id from list_managed_pages; needs send_messages). A page can only answer: conversation_linkedin_id from list_conversations with the same page_id is required. | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. | |
| in_mail_premium | No | Send as InMail to someone outside the network (premium accounts); requires recipient_linkedin_id. | |
| recipient_linkedin_id | No | Recipient profile id (fsd_profile id) to start a new conversation; from list_conversations or scrape_profile. Omit when replying in an existing conversation. | |
| conversation_linkedin_id | No | Conversation (thread) id, as returned by list_conversations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| status_code | No | HTTP status from LinkedIn (e.g. 201 on success). |