Send a LinkedIn Message (Partner API)
linkedin_send_messageSend a direct message to a LinkedIn member using their member ID and message text. Note: requires LinkedIn's Messaging API partner program; otherwise returns a clear error explaining the limitation.
Instructions
Send a direct message to a LinkedIn member.
⚠️ NOTE: This tool is NOT available with standard OAuth apps. Direct messaging requires LinkedIn's Messaging API (partner program).
This tool returns a clear error message explaining the limitation.
Args:
recipient_id (string, required): LinkedIn member ID of the recipient
text (string, required): Message text (1-2000 chars)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
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": {
"recipient_id": "<recipient_id>",
"text": "<text>"
},
"name": "linkedin_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text content | |
| recipient_id | Yes | LinkedIn member ID of the recipient | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |