apply_queue_reorderApply queue reorder
Apply a previously previewed queue reorder mutation.
Authorization and permissions
Requires a valid delegated OAuth token and access to the selected workspace.
- OAuth scope
mcp:schedule- Workspace requirement
- Authorized workspace and current membership required
Permissions and queue revision are rechecked atomically.
Input schema
{
"additionalProperties": false,
"properties": {
"entryId": {
"description": "Entry id.",
"minimum": 1,
"type": "integer"
},
"position": {
"description": "Position.",
"minimum": 1,
"type": "integer"
},
"preview_token": {
"description": "Preview token.",
"maxLength": 10000,
"minLength": 1,
"type": "string"
},
"team_id": {
"description": "Consented workspace ID.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"team_id",
"entryId",
"position",
"preview_token"
],
"type": "object"
}Result schema
{
"additionalProperties": false,
"properties": {
"action": {
"additionalProperties": false,
"description": "Action.",
"properties": {
"entryId": {
"description": "Entry id.",
"minimum": 1,
"type": "integer"
},
"kind": {
"const": "reorder",
"description": "Kind."
},
"position": {
"description": "Position.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"kind",
"entryId",
"position"
],
"type": "object"
},
"changes": {
"description": "Changes.",
"items": {
"additionalProperties": false,
"description": "Changes item.",
"properties": {
"account": {
"description": "Account.",
"type": "string"
},
"after": {
"description": "After.",
"type": [
"string",
"null"
]
},
"before": {
"description": "Before.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Description.",
"type": "string"
},
"postId": {
"description": "Post id.",
"type": "string"
},
"queued": {
"description": "Queued.",
"type": "boolean"
}
},
"required": [
"postId",
"account",
"description",
"before",
"after",
"queued"
],
"type": "object"
},
"type": "array"
},
"token": {
"description": "Token.",
"type": "string"
}
},
"required": [
"token",
"changes",
"action"
],
"type": "object"
}Example arguments
{
"entryId": 885,
"position": 1,
"preview_token": "opaque-token-from-preview",
"team_id": 42
}Example result
{
"action": {
"entryId": 885,
"kind": "reorder",
"position": 1
},
"changes": [],
"token": "opaque-token-from-preview"
}Errors and retry
The connection is limited to 120 tool calls per user per minute and AI tools to 30 calls per user per hour. Invalid or cross-workspace identifiers return not found; revoked membership/scope returns permission denied; invalid input and stale versions return validation errors. Existing product limits still apply; there is no separate MCP subscription quota.
Do not blindly retry apply. Read the queue first after an uncertain response. Apply rechecks the queue revision and permissions atomically; stale, expired, replayed, or mismatched preview tokens require a new preview. Use the actual token returned by preview, not the illustrative token shown here.
Effects, limits, and source
Workspace roles, subscription and AI usage limits, approval rules, and server rate limits are enforced at call time. Rate-limit responses identify when to retry; scheduled work returns state rather than holding the request open.
social_scheduling.services.team_queue.queue_command