MCP टूल
सार्वजनिक प्रदर्शन पढ़ें
sosoapi_read_public_performanceवर्कस्पेस से जुड़े खाते के लिए X के अनाधिकारिक सार्वजनिक काउंटर पढ़ें। गायब काउंटर अनुपलब्ध ही रहते हैं; सशुल्क X API या क्रेडेंशियल का उपयोग नहीं किया जाता।
Markdown में पढ़ेंप्रोफ़ाइल और ट्रांसपोर्ट
प्रोफ़ाइल: full · ट्रांसपोर्ट: stdio, http
क्लाइंट में दिखने वाले टूल के लिए core या full चुनें; इससे अनुमतियाँ नहीं बदलतीं। लोकल फ़ाइल अपलोड के लिए stdio चाहिए और HTTP पर उपलब्ध नहीं। खोज में आउटपुट स्कीमा के लिए SOSOAPI_OUTPUT_SCHEMAS=1 सेट करें। इस सेटिंग के साथ या बिना टूल संरचित परिणाम लौटाते हैं।
अनुमतियाँ और अन्य प्रभाव
एनोटेशन क्लाइंट को टूल का वर्णन करने में मदद करते हैं। हर कॉल फिर भी यूज़र का प्रमाणीकरण, भूमिका, संसाधन एक्सेस और क्षमता अधिकार जाँचती है।
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}- /analytics-api/public-performance/read: agent:operate · स्पष्ट रूप से अनाधिकारिक सार्वजनिक काउंटर या अनुपलब्धता का प्रमाण; कभी भी आधिकारिक Insights नहीं।
इनपुट फ़ील्ड
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
workspace_id | stringपैरेंट में अनिवार्य |
|
social_account_id | stringपैरेंट में अनिवार्य |
|
cursor | stringवैकल्पिक / आइटम |
|
refresh | booleanवैकल्पिक / आइटम | — |
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"social_account_id": {
"type": "string",
"format": "uuid"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"refresh": {
"type": "boolean"
}
},
"required": [
"workspace_id",
"social_account_id"
],
"additionalProperties": false
}संरचित आउटपुट
यह स्कीमा सफल टूल परिणाम के structuredContent का वर्णन करता है। MCP रिस्पॉन्स में content भी होता है और कॉल विफल होने पर isError सेट हो सकता है। प्रकाशन के लिए स्वीकृत अनुरोध या टेक्स्ट रिस्पॉन्स को पुष्टि मानने के बजाय पोस्ट का अंतिम परिणाम पढ़ें। लिंक किया गया API ऑपरेशन अनुमतियाँ और पुनः प्रयास के नियम समझाता है।
Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।
| फ़ील्ड / शाखा | प्रकार / अनिवार्य | शर्तें |
|---|---|---|
$ | objectपैरेंट में अनिवार्य |
|
contract_version | stringपैरेंट में अनिवार्य |
|
source | stringपैरेंट में अनिवार्य |
|
source_kind | stringपैरेंट में अनिवार्य |
|
platform | stringपैरेंट में अनिवार्य |
|
workspace_id | stringपैरेंट में अनिवार्य |
|
social_account_id | stringपैरेंट में अनिवार्य |
|
provider_account_id | stringपैरेंट में अनिवार्य |
|
fetched_at | stringपैरेंट में अनिवार्य |
|
upstream_updated_at | nullपैरेंट में अनिवार्य | — |
expires_at | stringपैरेंट में अनिवार्य |
|
cache_status | stringपैरेंट में अनिवार्य |
|
status | stringपैरेंट में अनिवार्य |
|
profile | object | nullपैरेंट में अनिवार्य | — |
profileanyOf 1 | objectपैरेंट में अनिवार्य |
|
profile.nameanyOf 1 | stringपैरेंट में अनिवार्य |
|
profile.handleanyOf 1 | stringपैरेंट में अनिवार्य |
|
profile.followersanyOf 1 | integer | nullपैरेंट में अनिवार्य | — |
profile.followersanyOf 1 / anyOf 1 | integerपैरेंट में अनिवार्य |
|
profile.followersanyOf 1 / anyOf 2 | nullपैरेंट में अनिवार्य | — |
profileanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts | arrayपैरेंट में अनिवार्य |
|
posts[] | objectवैकल्पिक / आइटम |
|
posts[].id | stringपैरेंट में अनिवार्य |
|
posts[].url | stringपैरेंट में अनिवार्य |
|
posts[].text | stringपैरेंट में अनिवार्य |
|
posts[].published_at | string | nullपैरेंट में अनिवार्य | — |
posts[].published_atanyOf 1 | stringपैरेंट में अनिवार्य |
|
posts[].published_atanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].kind | stringपैरेंट में अनिवार्य |
|
posts[].media_kind | stringपैरेंट में अनिवार्य |
|
posts[].metrics | objectपैरेंट में अनिवार्य |
|
posts[].metrics.views | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.viewsanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.viewsanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].metrics.likes | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.likesanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.likesanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].metrics.replies | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.repliesanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.repliesanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].metrics.reposts | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.repostsanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.repostsanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].metrics.quotes | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.quotesanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.quotesanyOf 2 | nullपैरेंट में अनिवार्य | — |
posts[].metrics.bookmarks | integer | nullपैरेंट में अनिवार्य | — |
posts[].metrics.bookmarksanyOf 1 | integerपैरेंट में अनिवार्य |
|
posts[].metrics.bookmarksanyOf 2 | nullपैरेंट में अनिवार्य | — |
coverage | objectपैरेंट में अनिवार्य |
|
coverage.complete | booleanपैरेंट में अनिवार्य | — |
coverage.next_cursor | string | nullपैरेंट में अनिवार्य | — |
coverage.next_cursoranyOf 1 | stringपैरेंट में अनिवार्य |
|
coverage.next_cursoranyOf 2 | nullपैरेंट में अनिवार्य | — |
coverage.views_available_posts | integerपैरेंट में अनिवार्य |
|
coverage.omitted_rows | integerपैरेंट में अनिवार्य |
|
coverage.reasons | arrayपैरेंट में अनिवार्य |
|
coverage.reasons[] | stringवैकल्पिक / आइटम |
|
संपूर्ण JSON Schema
{
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"const": "public-performance/v1"
},
"source": {
"type": "string",
"const": "fxtwitter"
},
"source_kind": {
"type": "string",
"const": "unofficial_public"
},
"platform": {
"type": "string",
"const": "x"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"social_account_id": {
"type": "string",
"format": "uuid"
},
"provider_account_id": {
"type": "string",
"pattern": "^\\d{2,20}$"
},
"fetched_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)))$"
},
"upstream_updated_at": {
"type": "null"
},
"expires_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)))$"
},
"cache_status": {
"type": "string",
"enum": [
"hit",
"stored",
"bypassed"
]
},
"status": {
"type": "string",
"enum": [
"available",
"partial",
"unavailable"
]
},
"profile": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"handle": {
"type": "string",
"maxLength": 100
},
"followers": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"name",
"handle",
"followers"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"posts": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{2,20}$"
},
"url": {
"type": "string",
"format": "uri"
},
"text": {
"type": "string",
"maxLength": 30000
},
"published_at": {
"anyOf": [
{
"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)))$"
},
{
"type": "null"
}
]
},
"kind": {
"type": "string",
"enum": [
"post",
"reply"
]
},
"media_kind": {
"type": "string",
"enum": [
"text",
"image",
"video"
]
},
"metrics": {
"type": "object",
"properties": {
"views": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"replies": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reposts": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"quotes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"bookmarks": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"views",
"likes",
"replies",
"reposts",
"quotes",
"bookmarks"
],
"additionalProperties": false
}
},
"required": [
"id",
"url",
"text",
"published_at",
"kind",
"media_kind",
"metrics"
],
"additionalProperties": false
}
},
"coverage": {
"type": "object",
"properties": {
"complete": {
"type": "boolean"
},
"next_cursor": {
"anyOf": [
{
"type": "string",
"maxLength": 2048
},
{
"type": "null"
}
]
},
"views_available_posts": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"omitted_rows": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reasons": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"maxLength": 300
}
}
},
"required": [
"complete",
"next_cursor",
"views_available_posts",
"omitted_rows",
"reasons"
],
"additionalProperties": false
}
},
"required": [
"contract_version",
"source",
"source_kind",
"platform",
"workspace_id",
"social_account_id",
"provider_account_id",
"fetched_at",
"upstream_updated_at",
"expires_at",
"cache_status",
"status",
"profile",
"posts",
"coverage"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}टूल कॉल का उदाहरण
उदाहरणों में स्कीमा से जाँचे काल्पनिक मान हैं। IDs को अधिकृत IDs, मीडिया को तैयार एसेट और तारीखों को पुष्ट प्रकाशन समय से बदलें। राइट सबमिट करने से पहले खाते की पात्रता जाँचें। यह पेज API अनुरोध नहीं भेजता।
{
"name": "sosoapi_read_public_performance",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111",
"social_account_id": "22222222-2222-4222-8222-222222222222"
}
}structuredContent
{
"workspace_id": "11111111-1111-4111-8111-111111111111",
"social_account_id": "22222222-2222-4222-8222-222222222222",
"contract_version": "public-performance/v1",
"source": "fxtwitter",
"source_kind": "unofficial_public",
"platform": "x",
"provider_account_id": "12345",
"fetched_at": "2099-01-15T09:00:00Z",
"upstream_updated_at": null,
"expires_at": "2099-01-15T09:05:00Z",
"cache_status": "stored",
"status": "unavailable",
"profile": null,
"posts": [],
"coverage": {
"complete": false,
"next_cursor": null,
"views_available_posts": 0,
"omitted_rows": 0,
"reasons": [
"Fictional public source unavailable; no account data was read."
]
}
}