# Tools (MCP)

Source: https://ampost.io/docs/mcp/tools · Full reference: https://ampost.io/llms-full.txt

Each MCP tool is the REST operation of the same name: the same arguments (path parameters and body fields in one object), the same result as `structuredContent`, the same error codes and rate limits. `tools/list` shows only the tools the key's or app's scopes allow; another answers `INSUFFICIENT_SCOPE`. A failed call returns `isError: true` with the REST error body as text.

## Workspace

- `workspace_get`: Get the current workspace (`GET /api/workspaces/current`, scope none (any key)). Arguments, examples and result: https://ampost.io/docs/api/workspace-get.md

## Platforms

- `platforms_list`: List platforms and their capabilities (`GET /api/platforms`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/platforms-list.md

## Posts

- `posts_list`: List posts (`GET /api/posts`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/posts-list.md
- `posts_create`: Create, schedule or publish a post (`POST /api/posts`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-create.md
- `posts_validate`: Check a post without creating it (`POST /api/posts/validate`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/posts-validate.md
- `posts_import_csv`: Import posts from CSV (`POST /api/posts/bulk`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-import-csv.md
- `posts_get`: Get a post (`GET /api/posts/:postId`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/posts-get.md
- `posts_update`: Update a post (`PATCH /api/posts/:postId`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-update.md
- `posts_delete`: Delete a post (`DELETE /api/posts/:postId`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-delete.md
- `posts_publish`: Publish a post now (`POST /api/posts/:postId/publish`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-publish.md
- `posts_unpublish`: Unpublish a post (`POST /api/posts/:postId/unpublish`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-unpublish.md
- `posts_edit_published`: Edit a published post's text (`POST /api/posts/:postId/edit-published`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-edit-published.md
- `posts_retry`: Retry failed accounts (`POST /api/posts/:postId/retry`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-retry.md
- `posts_submit`: Submit a draft for approval (`POST /api/posts/:postId/submit`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-submit.md
- `posts_approve`: Approve a waiting post (`POST /api/posts/:postId/approve`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-approve.md
- `posts_reject`: Reject a waiting post (`POST /api/posts/:postId/reject`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/posts-reject.md

## Media

- `media_upload_create`: Start a media upload (`POST /api/media/uploads`, scope `media:write`). Arguments, examples and result: https://ampost.io/docs/api/media-upload-create.md
- `media_upload_status`: Get a media upload (`GET /api/media/uploads/:uploadId`, scope `media:write`). Arguments, examples and result: https://ampost.io/docs/api/media-upload-status.md

## Accounts

- `accounts_list`: List social accounts (`GET /api/accounts`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/accounts-list.md
- `accounts_get`: Get a connected account (`GET /api/accounts/:accountId`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/accounts-get.md
- `accounts_disconnect`: Disconnect an account (`DELETE /api/accounts/:accountId`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/accounts-disconnect.md
- `accounts_set_analytics`: Turn X analytics on or off (`PATCH /api/accounts/:accountId/analytics`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/accounts-set-analytics.md
- `accounts_list_boards`: List a Pinterest account's boards (`GET /api/accounts/:accountId/boards`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/accounts-list-boards.md
- `accounts_set_board`: Pick a Pinterest account's default board (`PATCH /api/accounts/:accountId/board`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/accounts-set-board.md
- `accounts_connect`: Connect a social account (`POST /api/accounts/connect`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/accounts-connect.md
- `accounts_connect_status`: Get a connection request (`GET /api/accounts/connect/:connectRequestId`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/accounts-connect-status.md

## Platform sets

- `platform_sets_list`: List platform sets (`GET /api/platform-sets`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/platform-sets-list.md
- `platform_sets_create`: Create a platform set (`POST /api/platform-sets`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/platform-sets-create.md
- `platform_sets_get`: Get a platform set (`GET /api/platform-sets/:platformSetId`, scope `accounts:read`). Arguments, examples and result: https://ampost.io/docs/api/platform-sets-get.md
- `platform_sets_update`: Rename a platform set (`PATCH /api/platform-sets/:platformSetId`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/platform-sets-update.md
- `platform_sets_delete`: Delete a platform set (`DELETE /api/platform-sets/:platformSetId`, scope `accounts:write`). Arguments, examples and result: https://ampost.io/docs/api/platform-sets-delete.md

## Posting queues

- `queue_get`: Get a posting queue (`GET /api/platform-sets/:platformSetId/queue`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/queue-get.md
- `queue_update`: Update a posting queue (`PATCH /api/platform-sets/:platformSetId/queue`, scope `posts:write`). Arguments, examples and result: https://ampost.io/docs/api/queue-update.md
- `queue_slots`: Preview queue slots (`GET /api/platform-sets/:platformSetId/queue/slots`, scope `posts:read`). Arguments, examples and result: https://ampost.io/docs/api/queue-slots.md

## Analytics

- `analytics_posts`: Post analytics (`GET /api/analytics/posts`, scope `analytics:read`). Arguments, examples and result: https://ampost.io/docs/api/analytics-posts.md
- `analytics_overview`: Analytics overview (`GET /api/analytics/overview`, scope `analytics:read`). Arguments, examples and result: https://ampost.io/docs/api/analytics-overview.md
- `analytics_followers`: Follower history (`GET /api/analytics/followers`, scope `analytics:read`). Arguments, examples and result: https://ampost.io/docs/api/analytics-followers.md

## Webhooks

- `webhooks_list`: List webhooks (`GET /api/webhooks/endpoints`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-list.md
- `webhooks_create`: Create a webhook (`POST /api/webhooks/endpoints`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-create.md
- `webhooks_get`: Get a webhook (`GET /api/webhooks/endpoints/:webhookId`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-get.md
- `webhooks_update`: Update a webhook (`PATCH /api/webhooks/endpoints/:webhookId`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-update.md
- `webhooks_delete`: Delete a webhook (`DELETE /api/webhooks/endpoints/:webhookId`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-delete.md
- `webhooks_test`: Send a test event (`POST /api/webhooks/endpoints/:webhookId/test`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-test.md
- `webhooks_deliveries_list`: List webhook deliveries (`GET /api/webhooks/endpoints/:webhookId/deliveries`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-deliveries-list.md
- `webhooks_redeliver`: Redeliver an event (`POST /api/webhooks/endpoints/:webhookId/deliveries/:deliveryId/redeliver`, scope `webhooks:write`). Arguments, examples and result: https://ampost.io/docs/api/webhooks-redeliver.md

## Docs search

- `docs_search`: Search the docs (`GET /api/docs/search`, scope none (any key)). Arguments, examples and result: https://ampost.io/docs/api/docs-search.md

## Feedback

- `feedback_submit`: Report a bug or suggest a change (`POST /api/feedback`, scope none (any key)). Arguments, examples and result: https://ampost.io/docs/api/feedback-submit.md
