archive_conversation
Archive or unarchive a LinkedIn conversation. Set archive=false to unarchive. conversation_linkedin_id is the conversation_id returned by list_conversations; with page_id, a conversation of that company page's inbox. Housekeeping in the classic inbox or, with page_id, a company page's inbox; reversible (archive=false). Not a delete, see delete_conversation.
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>",
"conversation_linkedin_id": "<conversation_linkedin_id>"
},
"name": "archive_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | True to archive, False to unarchive. | |
| page_id | No | Act as this company page instead of the member: page_id (or vanity name) from list_managed_pages. The account must be an admin of the page with a role that allows the action. Omit to act as the member. | |
| 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. | |
| conversation_linkedin_id | Yes | Conversation (thread) id, as returned by list_conversations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | Current archived state |