set_post_status
Record a session's LinkedIn, X, YouTube, or Shorts post as draft, ready, scheduled, or posted, including scheduled time and live URL, so later edits show as actions and undo stays available.
Instructions
Record what you did on LinkedIn or X (platform=x) for a session's post. status=scheduled after you scheduled it (records the time and text you scheduled, so later changes show up as an action); status=posted with url once it is live (also marks the session published); ready to undo. The user marks posts ready in the app; only set ready or draft when asked. A post you were asked to schedule that has no time: pass at, the time you picked on the platform.
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": {
"session": "<session>",
"status": "<status>"
},
"name": "set_post_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | The time it goes out (or went out), ISO 8601 with offset, e.g. 2026-09-29T09:32:00-07:00. Pass it with status=scheduled when the post has no time yet or you scheduled it for another time: the post takes this time. Default for posted: now. | |
| tz | No | Optional IANA zone for at, e.g. America/Los_Angeles. Default: the post's zone, else this Mac's. | |
| url | No | Link to the live post (status=posted). | |
| status | Yes | draft, ready, scheduled or posted. | |
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. | |
| platform | No | Which post of the session: linkedin (default, posts/linkedin.md), x (posts/x.md), youtube (the long wide video: title + description, posts/youtube.md) or vertical (one vertical video and caption for TikTok, Instagram Reels and YouTube Shorts, posts/vertical.md). | |
| first_comment_posted | No | true after you posted first_comment under the live post. |