antworkDOCS

Tool reference

What your assistant can call, and which of those calls change something.

Tools23

The catalogue

23 tools · 7 categories

Read-only tools never mutate state; destructive tools (publish, delete) trigger explicit confirmation in clients that honour the destructiveHint annotation.

Identity & workspaces

ToolAccessWhat it does
list_workspacesReadList the user's workspaces (with isDefault), the signed-in account with its plan and post quota, and the active workspace's connected accounts.
set_default_workspaceWriteSet or clear the default workspace so subsequent tools omit workspace_id.
create_workspaceWriteCreate a new workspace owned by the authenticated user.
update_workspaceDestructiveChange the workspace name, website or logo, its timezone and preferred posting times, or outbound link tagging. Only the fields passed change; the result returns the workspace as saved.
report_issueWriteSend the Antwork team a report when Antwork seems broken: a result that contradicts the call, or something the user says did not happen. Antwork attaches the session's recent tool calls; the team gets an email.

Social accounts

ToolAccessWhat it does
list_social_accountsReadAll connected social accounts with health, expiry, platform, and follower count with 30-day growth.
get_connection_urlsReadOAuth URLs for connecting new social accounts.
fetch_platform_postsReadRead an account's recent posts straight from the platform, with their engagement, or find other people's posts that went viral by search or creator on X, YouTube, Bluesky and Mastodon, or by creator on Instagram (paid plans), ranked by how far each beat its usual. Threads, and Instagram search by hashtag, are coming next.

Posts — read

ToolAccessWhat it does
get_post_contextReadOne-call drafting bundle: workspace identity and settings (timezone, preferred posting times), the target account, and its recent posts with engagement. Call this before writing.
list_postsReadList drafts, scheduled, published and failed posts. Filter by status, keyword, platform, campaign, or date range; group_by_day lays them out as a calendar with a link to the calendar page; attention answers in one call what needs you: recent failures, posts awaiting approval, drafts and what goes out next. Long lists page with cursor.
get_postReadSingle post with full payload (text, media, status, per-platform URLs, and an editUrl to the web composer). With include_comments, a published post's latest 20 comments, read live from the network. post_ids reads up to 25 posts in one call.

Posts — write

ToolAccessWhat it does
create_postWriteCreate DRAFT posts: one for one account, or posts for several accounts, each with its own copy (one post with a version per account). Does not publish or schedule on its own — follow up with schedule_post or publish_post.
update_postWriteEdit a post's text, hashtags, media, schedule time or per-platform settings. One call can change many posts, each its own way (updates).
delete_postDestructiveSoft-delete a post. For published posts also enqueues platform-side deletion when the connector supports it. post_ids deletes up to 50 in one call.

Posts — publishing

ToolAccessWhat it does
publish_postDestructivePublish one post, several, or a whole campaign now, and wait once for the platforms' answer with the live URLs. A post whose publish failed is retried through the same checks. A TikTok post first returns the choices TikTok asks of you (audience, interactions, disclosure, its declaration), and goes once you answer them as tiktok_settings.
schedule_postDestructiveSchedule one post, several, or a whole campaign for a future time. A post that cannot be scheduled is reported on its own and the rest still go. TikTok posts take your answers as tiktok_settings, as on publish_post. schedules gives up to 25 posts each its own time in one call.
reply_to_commentWriteReply in public, as the account, to a comment on a published post (or to the post itself), once you approved the exact text. X, Mastodon, Bluesky and LinkedIn company pages.
manage_routineDestructiveSet up Autopilot from the chat: list, create, edit, pause, resume, delete or run now a routine your AI runs on a schedule (accounts, cadence, brief, mode, post limit, who starts it). Answers with the routine as a sentence and the prompt or steps to put it on your AI's schedule.

Analytics & planning

ToolAccessWhat it does
get_performanceReadEngagement per published post, per day and followers per account over a window, with findings already worked out: the change against the previous window, top and bottom posts, best posting windows and today against the daily cap. Or one post's per-day history with post_id. On every paid plan.

Media

ToolAccessWhat it does
list_mediaReadWorkspace media library — images, video, PDFs.
add_mediaWriteAdd media to the library and to every listed post in one call, from exactly one source: a file attached in ChatGPT, a public URL (or up to 10 in order, such as a carousel's slides, attached only when every one stored), a one-time upload address for one curl from a shell or Claude's code execution sandbox (allow api.antwork.io), or items already in the library. Appends; nothing already on a post is removed.
attach_mediaWriteSet a post's exact media list: reorder, remove, or clear with an empty list. updates sets up to 25 posts in one call.
delete_mediaDestructiveSoft-delete a media item; does not affect posts that already reference it. media_ids deletes up to 50 in one call.
Tool argument schemas are introspected from the server live — connect a client and call tools/list to see the canonical JSON Schemas with required fields and types.

Something look wrong? Tell us which.

Your next week of posts is one message away.

Connect your accounts, tell your AI what is coming up, approve the week.