MCP टूल
Threads सामग्री कतार हटाएँ
sosoapi_delete_threads_content_queueसटीक संस्करण और लंबित संख्या की पुष्टि से कतार को सॉफ़्ट-डिलीट करें; स्वीकृत पोस्ट बचाएँ।
Markdown में पढ़ेंप्रोफ़ाइल और ट्रांसपोर्ट
प्रोफ़ाइल: full · ट्रांसपोर्ट: stdio, http
क्लाइंट में दिखने वाले टूल के लिए core या full चुनें; इससे अनुमतियाँ नहीं बदलतीं। लोकल फ़ाइल अपलोड के लिए stdio चाहिए और HTTP पर उपलब्ध नहीं। खोज में आउटपुट स्कीमा के लिए SOSOAPI_OUTPUT_SCHEMAS=1 सेट करें। इस सेटिंग के साथ या बिना टूल संरचित परिणाम लौटाते हैं।
अनुमतियाँ और अन्य प्रभाव
एनोटेशन क्लाइंट को टूल का वर्णन करने में मदद करते हैं। हर कॉल फिर भी यूज़र का प्रमाणीकरण, भूमिका, संसाधन एक्सेस और क्षमता अधिकार जाँचती है।
{
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": true
}- /studio-api/threads-content-queues/delete: agent:operate · संस्करण वाले कतार विन्यास/लंबित संदर्भ; विराम और हटाने पर सभी स्वीकृत शेड्यूल और रसीदें सुरक्षित रहती हैं
इनपुट फ़ील्ड
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
workspace_id | stringपैरेंट में अनिवार्य |
|
id | stringपैरेंट में अनिवार्य |
|
expected_version | integerपैरेंट में अनिवार्य |
|
mutation_id | stringपैरेंट में अनिवार्य |
|
confirm_pending_count | integerपैरेंट में अनिवार्य |
|
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"id": {
"type": "string",
"format": "uuid"
},
"expected_version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"mutation_id": {
"type": "string",
"format": "uuid"
},
"confirm_pending_count": {
"type": "integer",
"minimum": 0,
"maximum": 50
}
},
"required": [
"workspace_id",
"id",
"expected_version",
"mutation_id",
"confirm_pending_count"
],
"additionalProperties": false
}संरचित आउटपुट
यह स्कीमा सफल टूल परिणाम के structuredContent का वर्णन करता है। MCP रिस्पॉन्स में content भी होता है और कॉल विफल होने पर isError सेट हो सकता है। प्रकाशन के लिए स्वीकृत अनुरोध या टेक्स्ट रिस्पॉन्स को पुष्टि मानने के बजाय पोस्ट का अंतिम परिणाम पढ़ें। लिंक किया गया API ऑपरेशन अनुमतियाँ और पुनः प्रयास के नियम समझाता है।
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
queue | objectपैरेंट में अनिवार्य |
|
queue.id | stringपैरेंट में अनिवार्य |
|
queue.workspace_id | stringपैरेंट में अनिवार्य |
|
queue.social_account_id | stringपैरेंट में अनिवार्य |
|
queue.name | stringपैरेंट में अनिवार्य |
|
queue.display_timezone | stringपैरेंट में अनिवार्य |
|
queue.weekly_slots | arrayपैरेंट में अनिवार्य |
|
queue.weekly_slots[] | objectवैकल्पिक / आइटम |
|
queue.weekly_slots[].weekday | integerपैरेंट में अनिवार्य |
|
queue.weekly_slots[].local_time | stringपैरेंट में अनिवार्य |
|
queue.paused | booleanपैरेंट में अनिवार्य | — |
queue.deleted | booleanपैरेंट में अनिवार्य | — |
queue.version | integerपैरेंट में अनिवार्य |
|
queue.created_at | stringपैरेंट में अनिवार्य |
|
queue.updated_at | stringपैरेंट में अनिवार्य |
|
queue.pending_items | arrayपैरेंट में अनिवार्य |
|
queue.pending_items[] | objectवैकल्पिक / आइटम |
|
queue.pending_items[].item_id | stringपैरेंट में अनिवार्य |
|
queue.pending_items[].draft_id | stringपैरेंट में अनिवार्य |
|
queue.pending_items[].draft_revision | integerपैरेंट में अनिवार्य |
|
queue.pending_items[].current_revision | integer | nullपैरेंट में अनिवार्य | — |
queue.pending_items[].current_revisionanyOf 1 | integerपैरेंट में अनिवार्य |
|
queue.pending_items[].current_revisionanyOf 2 | nullपैरेंट में अनिवार्य | — |
queue.pending_items[].draft_state | string | nullपैरेंट में अनिवार्य | — |
queue.pending_items[].draft_stateanyOf 1 | stringपैरेंट में अनिवार्य |
|
queue.pending_items[].draft_stateanyOf 2 | nullपैरेंट में अनिवार्य | — |
queue.pending_items[].caption_preview | stringपैरेंट में अनिवार्य |
|
queue.allocations | arrayपैरेंट में अनिवार्य |
|
queue.allocations[] | objectवैकल्पिक / आइटम |
|
queue.allocations[].id | stringपैरेंट में अनिवार्य |
|
queue.allocations[].item_id | stringपैरेंट में अनिवार्य |
|
queue.allocations[].draft_id | stringपैरेंट में अनिवार्य |
|
queue.allocations[].draft_revision | integerपैरेंट में अनिवार्य |
|
queue.allocations[].mutation_id | stringपैरेंट में अनिवार्य |
|
queue.allocations[].slot | objectपैरेंट में अनिवार्य |
|
queue.allocations[].slot.scheduled_at | stringपैरेंट में अनिवार्य |
|
queue.allocations[].slot.local_date | stringपैरेंट में अनिवार्य |
|
queue.allocations[].slot.local_time | stringपैरेंट में अनिवार्य |
|
queue.allocations[].slot.utc_offset_minutes | integerपैरेंट में अनिवार्य |
|
queue.allocations[].slot.display_timezone | stringपैरेंट में अनिवार्य |
|
queue.allocations[].post_id | stringपैरेंट में अनिवार्य |
|
queue.allocations[].accepted_at | stringपैरेंट में अनिवार्य |
|
replayed | booleanपैरेंट में अनिवार्य | — |
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"queue": {
"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_items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"format": "uuid"
},
"draft_id": {
"type": "string",
"format": "uuid"
},
"draft_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"current_revision": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"draft_state": {
"anyOf": [
{
"type": "string",
"enum": [
"draft",
"submitting",
"submitted"
]
},
{
"type": "null"
}
]
},
"caption_preview": {
"type": "string",
"maxLength": 500
}
},
"required": [
"item_id",
"draft_id",
"draft_revision",
"current_revision",
"draft_state",
"caption_preview"
],
"additionalProperties": false
}
},
"allocations": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"item_id": {
"type": "string",
"format": "uuid"
},
"draft_id": {
"type": "string",
"format": "uuid"
},
"draft_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"mutation_id": {
"type": "string",
"format": "uuid"
},
"slot": {
"type": "object",
"properties": {
"scheduled_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"
},
"local_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"local_time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"utc_offset_minutes": {
"type": "integer",
"minimum": -840,
"maximum": 840
},
"display_timezone": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"scheduled_at",
"local_date",
"local_time",
"utc_offset_minutes",
"display_timezone"
],
"additionalProperties": false
},
"post_id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"accepted_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"
}
},
"required": [
"id",
"item_id",
"draft_id",
"draft_revision",
"mutation_id",
"slot",
"post_id",
"accepted_at"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"workspace_id",
"social_account_id",
"name",
"display_timezone",
"weekly_slots",
"paused",
"deleted",
"version",
"created_at",
"updated_at",
"pending_items",
"allocations"
],
"additionalProperties": false
},
"replayed": {
"type": "boolean"
}
},
"required": [
"queue",
"replayed"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}टूल कॉल का उदाहरण
उदाहरणों में स्कीमा से जाँचे काल्पनिक मान हैं। IDs को अधिकृत IDs, मीडिया को तैयार एसेट और तारीखों को पुष्ट प्रकाशन समय से बदलें। राइट सबमिट करने से पहले खाते की पात्रता जाँचें। यह पेज API अनुरोध नहीं भेजता।
{
"name": "sosoapi_delete_threads_content_queue",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111",
"id": "44444444-4444-4444-8444-444444444444",
"expected_version": 1,
"mutation_id": "60000000-0000-4000-8000-000000000022",
"confirm_pending_count": 1
}
}structuredContent
{
"queue": {
"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": true,
"version": 2,
"created_at": "2099-01-14T09:00:00Z",
"updated_at": "2099-01-14T09:00:00Z",
"pending_items": [],
"allocations": []
},
"replayed": false
}