All Tools/ContentCaution

Delete Comment

Delete a comment you posted on a LinkedIn post. Essential safety net for automated workflows - remove test comments, fix mistakes, or undo automated actions. Only works on comments you authored.

MCP tool name: delete_comment

Use Cases

  • Remove test comments posted during workflow development
  • Undo an automated comment that was posted with wrong tone or content
  • Clean up duplicate comments from retry logic
  • Provide a safety rollback for overnight automation campaigns

Parameters

NameTypeRequiredDescription
comment_idstringrequiredThe comment ID to delete (from list_post_comments response)

Example

Prompt

Delete my comment 7435123456789

Response

{
  "deleted": true
}

Permission Scopes

This tool is available in the following permission scopes:

full accesscontent

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. All 164 tools. Safe limits, warm-up, and full permission control built in.