MCP tool
列出 Threads 內容佇列
sosoapi_list_threads_content_queues按工作區及 next_cursor 列出 Threads 內容佇列、暫停狀態及待處理數量;此唯讀操作不會分配時段。
閱讀 MarkdownProfiles 及連接方式
Profiles: full · Transports: stdio, http
Profile 只影響工具可見性,不會授予權限。HTTP 不提供本機檔案上傳。SOSOAPI_OUTPUT_SCHEMAS=1 會宣告輸出 schema;兩種模式均會回傳 structured results。
權限及改動
MCP annotations 只提供工具發現提示,並非存取控制保證;實際呼叫仍須通過登入、角色、資源及能力檢查。
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}- /studio-api/threads-content-queues/list: agent:operate · versioned queue configuration/pending references; pause and deletion preserve all accepted schedules and receipts
輸入欄位
必填表示在所屬物件及所選分支內必須提供;子欄位必填不代表可選的父物件亦變成必填。以下欄位名稱及規則直接來自 contract。
| 欄位/分支 | 類型/必填 | 限制 |
|---|---|---|
$ | object父物件內必填 |
|
workspace_id | string父物件內必填 |
|
limit | integer可選/陣列項目 |
|
cursor | object | null可選/陣列項目 | — |
cursoranyOf 1 | object可選/陣列項目 |
|
cursor.updated_atanyOf 1 | string父物件內必填 |
|
cursor.idanyOf 1 | string父物件內必填 |
|
cursoranyOf 2 | null可選/陣列項目 | — |
完整 JSON Schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25
},
"cursor": {
"anyOf": [
{
"type": "object",
"properties": {
"updated_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"updated_at",
"id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"workspace_id"
],
"additionalProperties": false
}結構化輸出
此 schema 描述成功工具結果的 structuredContent。MCP envelope 亦包括 content,失敗時可能設定 isError;請勿將文字收據或已接受的請求視為平台終態。權限及重試規則請參閱對應的 API 操作。
必填表示在所屬物件及所選分支內必須提供;子欄位必填不代表可選的父物件亦變成必填。以下欄位名稱及規則直接來自 contract。
| 欄位/分支 | 類型/必填 | 限制 |
|---|---|---|
$ | object父物件內必填 |
|
queues | array父物件內必填 |
|
queues[] | object可選/陣列項目 |
|
queues[].id | string父物件內必填 |
|
queues[].workspace_id | string父物件內必填 |
|
queues[].social_account_id | string父物件內必填 |
|
queues[].name | string父物件內必填 |
|
queues[].display_timezone | string父物件內必填 |
|
queues[].weekly_slots | array父物件內必填 |
|
queues[].weekly_slots[] | object可選/陣列項目 |
|
queues[].weekly_slots[].weekday | integer父物件內必填 |
|
queues[].weekly_slots[].local_time | string父物件內必填 |
|
queues[].paused | boolean父物件內必填 | — |
queues[].deleted | boolean父物件內必填 | — |
queues[].version | integer父物件內必填 |
|
queues[].created_at | string父物件內必填 |
|
queues[].updated_at | string父物件內必填 |
|
queues[].pending_count | integer父物件內必填 |
|
next_cursor | object | null | null父物件內必填 | — |
next_cursoranyOf 1 | object | null父物件內必填 | — |
next_cursoranyOf 1 / anyOf 1 | object父物件內必填 |
|
next_cursor.updated_atanyOf 1 / anyOf 1 | string父物件內必填 |
|
next_cursor.idanyOf 1 / anyOf 1 | string父物件內必填 |
|
next_cursoranyOf 1 / anyOf 2 | null父物件內必填 | — |
next_cursoranyOf 2 | null父物件內必填 | — |
returned_count | integer父物件內必填 |
|
完整 JSON Schema
{
"type": "object",
"properties": {
"queues": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"social_account_id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"display_timezone": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"weekly_slots": {
"minItems": 1,
"maxItems": 49,
"type": "array",
"items": {
"type": "object",
"properties": {
"weekday": {
"type": "integer",
"minimum": 0,
"maximum": 6
},
"local_time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
}
},
"required": [
"weekday",
"local_time"
],
"additionalProperties": false
}
},
"paused": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"created_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"updated_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"pending_count": {
"type": "integer",
"minimum": 0,
"maximum": 50
}
},
"required": [
"id",
"workspace_id",
"social_account_id",
"name",
"display_timezone",
"weekly_slots",
"paused",
"deleted",
"version",
"created_at",
"updated_at",
"pending_count"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"updated_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"updated_at",
"id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
{
"type": "null"
}
]
},
"returned_count": {
"type": "integer",
"minimum": 0,
"maximum": 25
}
},
"required": [
"queues",
"next_cursor",
"returned_count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}工具呼叫範例
以下虛構值已按 contract 驗證,並非真實帳戶 ID、憑證或發佈紀錄。請以已授權範圍回傳的 ID、已準備完成的素材及已審核排程取代,並在寫入前核對平台資格。此頁不會呼叫 API。
{
"name": "sosoapi_list_threads_content_queues",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111",
"limit": 25
}
}structuredContent
{
"queues": [
{
"id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111",
"social_account_id": "22222222-2222-4222-8222-222222222222",
"name": "Fictional weekly ideas",
"display_timezone": "UTC",
"weekly_slots": [
{
"weekday": 4,
"local_time": "09:00"
}
],
"paused": false,
"deleted": false,
"version": 1,
"created_at": "2099-01-14T09:00:00Z",
"updated_at": "2099-01-14T09:00:00Z",
"pending_count": 1
}
],
"next_cursor": null,
"returned_count": 1
}