Cyber MondayUp to 60% off MagicPost, for lifeView pricesEnds in06d12h39m

Schedule the first comment of a LinkedIn post from Claude or ChatGPT: the schedule_post_comment tool

MagicPost lets an AI assistant arm a comment under one of your LinkedIn posts before the post is live: schedule_post_comment attaches the comment to a draft or to a scheduled post, and MagicPost publishes it from your own LinkedIn account a set number of minutes after the post, from 0 minutes to 7 days.

Access
Writes to your account
Managed accounts
Works on managed accounts
Organization admins only
No
Plan
Creator: $48 (€41) per month, or $27 (€23) per month billed yearly
Credits
No credits. Scheduled comments are part of the plan.
Tested on

The common use is the link you keep out of the post body. The post goes out clean, and the comment that carries the link follows. The comment is tied to the post and has no date of its own, so it moves with the post when you reschedule. MagicPost publishes the post and its comment through LinkedIn's official API, with no session cookie and no LinkedIn password.

The three exchanges below were recorded in Claude Code, connected to the production server, on drafts marked [TEST MCP]. Each answer shows the values the server returned, tool by tool. Cuts are in square brackets. The requests are worded here as a reader would type them. In the test, the calls were made one at a time, in this order.

Prompts and answers

Claude CodeConnected

Create a draft with this text: "[TEST MCP] Internal test draft. Do not publish." Schedule it for March 15, 2027 at 10:00, then add a first comment that says "[TEST MCP]", to go out right after the post.

MagicPostcreate_or_update_post
MagicPostschedule_post
MagicPostschedule_post_comment
Answer

create_or_update_post → success: true · created: true · post_id: 8160399b-[cut]

schedule_post → success: true · utc_publish_date: 2027-03-15T09:00:00+00:00 · pending_approval: false · failed_urns: []

schedule_post_comment → success: true · text: [TEST MCP] · minutes_after: 0 · is_draft: false · publish_at: null · state: null · comment_url: null · comment_id: 1313a64a-[cut]

Claude CodeConnected

Cancel the schedule of that post, then show me its state and the comments attached to it.

MagicPostcancel_scheduled_post
MagicPostget_post
Answer

cancel_scheduled_post → success: true

get_post → publication.state: draft · publication.scheduled_at: 2027-03-15T09:00:00+00:00 · planified_post: false · published_post: false

scheduled_comments: text: [TEST MCP] · minutes_after: 0 · is_draft: false · publish_at: null · state: null

[other fields of the post record cut]

Claude CodeConnected

On the managed account that has no LinkedIn connected, arm a comment "[TEST MCP]" five minutes after its [TEST MCP] draft, then schedule that draft for March 15, 2027 at 10:00.

MagicPostschedule_post_comment
MagicPostschedule_post
Answer

schedule_post_comment → success: true · text: [TEST MCP] · minutes_after: 5 · is_draft: false · publish_at: null · state: null

schedule_post → success: false · error: [400] Invalid or expired LinkedIn token · error_type: token_expired · status_code: 400 · actionable: true

hint: This member's LinkedIn token is expired. Ask the member to reconnect LinkedIn from their MagicPost > Settings: only they can do it, not you.

Guardrails

  • The post has to be yours and unpublished: a draft or a scheduled post. On a post that is live or being published, the call is refused with post_already_published (HTTP 409).
  • A comment that mentions someone who cannot be tagged is refused when you arm it (failed_tag, HTTP 400). You learn it in the conversation, long before the publication date.
  • The server never replays this call on its own. After a network error, read the post with get_post before you call again: a blind second call can arm the same comment twice.
  • If the post is published while the comment is being saved, MagicPost removes the comment and answers post_already_published. No comment stays behind without a publication date.
  • Arming a comment needs no LinkedIn connection. Scheduling the post does. On a managed account with no LinkedIn connected, our test armed the comment, then schedule_post refused with token_expired (HTTP 400) and a hint to reconnect.
  • After a cancel, read publication.state. In our test it was back to draft while scheduled_at still showed the old date, and the calendar no longer listed the post.
  • Scheduled comments have to be part of the account's plan. When they are missing, the answer is scheduled_comments_forbidden (HTTP 403) and a retry changes nothing.

Limits

  • 1,250 characters per comment, which is LinkedIn's own limit for a comment.
  • minutes_after goes from 0 to 10,080, which is 7 days. At 0, the comment leaves right after the post is published.
  • One comment per call. A post can carry several comments, each with its own delay.
  • Text only: the tool has no parameter for an image or a file.
  • An armed comment cannot be edited. Remove it with delete_post_comment, then arm a new one.
  • Cancelling the schedule of a post keeps its armed comments. In our test, get_post still listed the comment on the draft after cancel_scheduled_post, with publish_at empty.
  • A comment armed from an assistant is saved as scheduled (is_draft: false). The app also lets you keep a comment as an unscheduled draft, which is never published; the tool has no such state.
  • 60 calls per minute per connection, the default rate shared with most tools.

What it does not do

  • It does not comment on a post that is already on LinkedIn. Use engage_with_post instead.
  • It does not answer a comment someone left under your post. Use reply_to_comment instead.
  • It does not schedule the post. An armed comment on a draft waits until the draft is scheduled or published. Use schedule_post instead.
  • It does not change or remove a comment that is already armed. Use delete_post_comment instead.
  • It does not look up the person or the page to mention. Paste the mention value returned by the mention search into the comment text. Use search_mentions instead.

Parameters

ParameterTypeRequired
post_idstringYes
textstringYes
minutes_afterintegerNo
member_user_idstringNo

Tools often chained with it

  • create_or_update_post
  • schedule_post
  • get_post
  • delete_post_comment
  • cancel_scheduled_post
  • search_mentions

Assistants

In the MagicPost app

When does a scheduled LinkedIn comment go out?

The comment is stored with a delay and no date. Its date is set at the moment the post is published: publication time plus minutes_after. The delay counts from the real publication time. If the post leaves two days later than first planned, the comment leaves two days later too.

  • 0 minutes. The comment is sent as soon as the post is on LinkedIn.
  • 1 to 10,080 minutes. The comment waits for its turn and is published by the MagicPost scheduler.

Until the post is published, publish_at, state and comment_url stay empty in the answer, as in our test. get_post lists every comment attached to a post under scheduled_comments.

How to ask an assistant for a first comment on LinkedIn

Give the assistant three things: which post, the exact text of the comment, and the delay. Without a delay it uses 0.

  • "Add a first comment with this link to the post scheduled for Thursday, 2 minutes after it goes out."
  • "Arm two comments on my draft about pricing: the link right away, and a question to the readers one hour later."
  • "Show me the comments armed on next week's posts." The assistant reads the calendar, then each post.

On a managed account, name the account. The assistant passes its member_user_id, and the comment is published by that member's LinkedIn account.

About MagicPost

MagicPost is the LinkedIn tool to write, schedule and analyze your posts, in your own voice and through LinkedIn's official API.

Try MagicPost

Which profile describes you best?

These two answers pre-fill your booking.