MCP टूल
प्रोजेक्ट के खातों की सूची देखें
sosoapi_list_project_accountsप्रोजेक्ट से लिंक सोशल खातों की सूची देखें; कर्सर से पेज बदलें।
Markdown में पढ़ेंप्रोफ़ाइल और ट्रांसपोर्ट
प्रोफ़ाइल: full · ट्रांसपोर्ट: stdio, http
क्लाइंट में दिखने वाले टूल के लिए core या full चुनें; इससे अनुमतियाँ नहीं बदलतीं। लोकल फ़ाइल अपलोड के लिए stdio चाहिए और HTTP पर उपलब्ध नहीं। खोज में आउटपुट स्कीमा के लिए SOSOAPI_OUTPUT_SCHEMAS=1 सेट करें। इस सेटिंग के साथ या बिना टूल संरचित परिणाम लौटाते हैं।
अनुमतियाँ और अन्य प्रभाव
एनोटेशन क्लाइंट को टूल का वर्णन करने में मदद करते हैं। हर कॉल फिर भी यूज़र का प्रमाणीकरण, भूमिका, संसाधन एक्सेस और क्षमता अधिकार जाँचती है।
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}- /studio-api/projects/accounts/list: agent:operate · synchronous_http_response
इनपुट फ़ील्ड
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
project_id | stringपैरेंट में अनिवार्य |
|
cursor | stringवैकल्पिक / आइटम |
|
limit | integerवैकल्पिक / आइटम |
|
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"project_id": {
"type": "string",
"format": "uuid"
},
"cursor": {
"type": "string",
"format": "uuid"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"project_id"
],
"additionalProperties": false
}संरचित आउटपुट
यह स्कीमा सफल टूल परिणाम के structuredContent का वर्णन करता है। MCP रिस्पॉन्स में content भी होता है और कॉल विफल होने पर isError सेट हो सकता है। प्रकाशन के लिए स्वीकृत अनुरोध या टेक्स्ट रिस्पॉन्स को पुष्टि मानने के बजाय पोस्ट का अंतिम परिणाम पढ़ें। लिंक किया गया API ऑपरेशन अनुमतियाँ और पुनः प्रयास के नियम समझाता है।
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
contract_version | stringपैरेंट में अनिवार्य |
|
project_id | stringपैरेंट में अनिवार्य |
|
links | arrayपैरेंट में अनिवार्य | — |
links[] | objectवैकल्पिक / आइटम |
|
links[].workspace_id | stringपैरेंट में अनिवार्य |
|
links[].project_id | stringपैरेंट में अनिवार्य |
|
links[].social_account_id | stringपैरेंट में अनिवार्य |
|
links[].source | stringपैरेंट में अनिवार्य |
|
links[].created_by | string | nullपैरेंट में अनिवार्य | — |
links[].created_byanyOf 1 | stringपैरेंट में अनिवार्य |
|
links[].created_byanyOf 2 | nullपैरेंट में अनिवार्य | — |
links[].created_at | stringपैरेंट में अनिवार्य |
|
links[].platform | stringवैकल्पिक / आइटम |
|
links[].platform_user_id | string | nullवैकल्पिक / आइटम | — |
links[].platform_user_idanyOf 1 | stringवैकल्पिक / आइटम | — |
links[].platform_user_idanyOf 2 | nullवैकल्पिक / आइटम | — |
links[].username | string | nullवैकल्पिक / आइटम | — |
links[].usernameanyOf 1 | stringवैकल्पिक / आइटम | — |
links[].usernameanyOf 2 | nullवैकल्पिक / आइटम | — |
links[].facebook_page_name | string | nullवैकल्पिक / आइटम | — |
links[].facebook_page_nameanyOf 1 | stringवैकल्पिक / आइटम | — |
links[].facebook_page_nameanyOf 2 | nullवैकल्पिक / आइटम | — |
next_cursor | string | nullपैरेंट में अनिवार्य | — |
next_cursoranyOf 1 | stringपैरेंट में अनिवार्य |
|
next_cursoranyOf 2 | nullपैरेंट में अनिवार्य | — |
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"const": "project/v1"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"social_account_id": {
"type": "string",
"format": "uuid"
},
"source": {
"type": "string",
"enum": [
"user",
"api_key",
"delegated_ai",
"migration",
"scheduled_post",
"project_default"
]
},
"created_by": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time",
"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)))$"
},
"platform": {
"type": "string",
"enum": [
"instagram",
"threads",
"facebook",
"youtube"
]
},
"platform_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"facebook_page_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"workspace_id",
"project_id",
"social_account_id",
"source",
"created_by",
"created_at"
],
"additionalProperties": false
}
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"required": [
"contract_version",
"project_id",
"links",
"next_cursor"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}टूल कॉल का उदाहरण
उदाहरणों में स्कीमा से जाँचे काल्पनिक मान हैं। IDs को अधिकृत IDs, मीडिया को तैयार एसेट और तारीखों को पुष्ट प्रकाशन समय से बदलें। राइट सबमिट करने से पहले खाते की पात्रता जाँचें। यह पेज API अनुरोध नहीं भेजता।
{
"name": "sosoapi_list_project_accounts",
"arguments": {
"project_id": "11111111-1111-4111-8111-111111111111"
}
}structuredContent
{
"contract_version": "project/v1",
"project_id": "11111111-1111-4111-8111-111111111111",
"links": [],
"next_cursor": null
}