Like a comment
like_conversationSets the 'liked by us' state on a top-level comment thread (Instagram, Facebook or a LinkedIn Company Page; LinkedIn likes are made as the page). liked=true calls the platform's like endpoint and persists the state; liked=false unlikes. Only comment threads (thread_kind post_comments or video_comments) can be liked — DMs return an error. YouTube, Threads, Bluesky, Mastodon, Telegram and Google reviews can't be liked (LIKE_UNSUPPORTED); reply instead. The workspace's connection must hold the like scope (has_like_scope on list_inbox_connections). When it's missing the error includes a link for the user to open; don't retry until they have.
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": {
"conversation_id": "<conversation_id>",
"liked": "<liked>"
},
"name": "like_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liked | Yes | true to like, false to unlike. | |
| workspace_id | No | Optional. Auto-resolved from the conversation when omitted. | |
| conversation_id | Yes | The dm_conversations.id to like/unlike. Get it from list_inbox_conversations. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |