खोज केवल इस्तेमाल करने पर लोड होती है। नीचे सभी श्रेणियाँ देखें।

MCP टूल

निर्देशित रिपोर्ट टेम्पलेट का संस्करण सहेजें

sosoapi_save_report_template

निर्देशित रिपोर्ट टेम्पलेट का संस्करण सहेजें. स्पष्ट रूप से चुने गए समीक्षित डेटासेट और संस्करण का उपयोग करता है; स्रोत अपने-आप रीफ़्रेश नहीं होता. रेंडरिंग इनपुट को पाइप के ज़रिए sosoapi report render --output FILE तक भेजा जा सकता है.

Markdown में पढ़ें

प्रोफ़ाइल और ट्रांसपोर्ट

प्रोफ़ाइल: full · ट्रांसपोर्ट: stdio, http

क्लाइंट में दिखने वाले टूल के लिए core या full चुनें; इससे अनुमतियाँ नहीं बदलतीं। लोकल फ़ाइल अपलोड के लिए stdio चाहिए और HTTP पर उपलब्ध नहीं। खोज में आउटपुट स्कीमा के लिए SOSOAPI_OUTPUT_SCHEMAS=1 सेट करें। इस सेटिंग के साथ या बिना टूल संरचित परिणाम लौटाते हैं।

अनुमतियाँ और अन्य प्रभाव

एनोटेशन क्लाइंट को टूल का वर्णन करने में मदद करते हैं। हर कॉल फिर भी यूज़र का प्रमाणीकरण, भूमिका, संसाधन एक्सेस और क्षमता अधिकार जाँचती है।

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

इनपुट फ़ील्ड

Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।

इनपुट फ़ील्ड
फ़ील्ड / शाखाप्रकार / अनिवार्यशर्तें
$objectपैरेंट में अनिवार्य
  • additionalProperties: false
workspace_idstringपैरेंट में अनिवार्य
  • format: "uuid"
templateobjectपैरेंट में अनिवार्य
  • additionalProperties: false
template.idstringपैरेंट में अनिवार्य
  • format: "uuid"
template.versionintegerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 1000000
template.namestringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 100
template.formatstringपैरेंट में अनिवार्य
  • enum: ["pptx","docx","xlsx"]
template.sourceBase64stringपैरेंट में अनिवार्य
  • maxLength: 12582912
  • pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
template.sourceSha256stringपैरेंट में अनिवार्य
  • pattern: "^[a-f0-9]{64}$"
template.mappingsobjectपैरेंट में अनिवार्य
  • additionalProperties: {"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["text"]},"value":{"type":"string","maxLength":2000}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["selection"]},"field":{"type":"string","enum":["accounts","period","timezone","platforms","dataset","reviewed","coverage"]}},"required":["kind","field"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["metric"]},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"key":{"type":"string","minLength":1,"maxLength":150},"unit":{"type":"string","minLength":1,"maxLength":100},"grain":{"type":"string","enum":["post","account"]},"measurementKind":{"type":"string","enum":["lifetime","snapshot","period","unknown"]},"accountId":{"type":"string","format":"uuid"},"providerResourceId":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"sourcePath":{"type":"string","maxLength":2000},"requestId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["kind","platform","key","unit","grain","measurementKind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["formula"]},"id":{"type":"string","format":"uuid"},"version":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","id","version"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["table"]},"source":{"type":"string","enum":["measurements","formulas"]},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","source","limit"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["chart"]},"source":{"type":"string","enum":["publication_by_platform"]}},"required":["kind","source"],"additionalProperties":false}]}
template.mappings.*objectवैकल्पिक / आइटम—
template.mappings.*anyOf 1objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 1stringपैरेंट में अनिवार्य
  • enum: ["text"]
template.mappings.*.valueanyOf 1stringपैरेंट में अनिवार्य
  • maxLength: 2000
template.mappings.*anyOf 2objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 2stringपैरेंट में अनिवार्य
  • enum: ["selection"]
template.mappings.*.fieldanyOf 2stringपैरेंट में अनिवार्य
  • enum: ["accounts","period","timezone","platforms","dataset","reviewed","coverage"]
template.mappings.*anyOf 3objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 3stringपैरेंट में अनिवार्य
  • enum: ["metric"]
template.mappings.*.platformanyOf 3stringपैरेंट में अनिवार्य
  • enum: ["facebook","instagram","threads","youtube"]
template.mappings.*.keyanyOf 3stringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 150
template.mappings.*.unitanyOf 3stringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 100
template.mappings.*.grainanyOf 3stringपैरेंट में अनिवार्य
  • enum: ["post","account"]
template.mappings.*.measurementKindanyOf 3stringपैरेंट में अनिवार्य
  • enum: ["lifetime","snapshot","period","unknown"]
template.mappings.*.accountIdanyOf 3stringवैकल्पिक / आइटम
  • format: "uuid"
template.mappings.*.providerResourceIdanyOf 3string | nullवैकल्पिक / आइटम—
template.mappings.*.providerResourceIdanyOf 3 / anyOf 1stringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 512
template.mappings.*.providerResourceIdanyOf 3 / anyOf 2nullवैकल्पिक / आइटम—
template.mappings.*.sourcePathanyOf 3stringवैकल्पिक / आइटम
  • maxLength: 2000
template.mappings.*.requestIdanyOf 3string | nullवैकल्पिक / आइटम—
template.mappings.*.requestIdanyOf 3 / anyOf 1stringवैकल्पिक / आइटम
  • format: "uuid"
template.mappings.*.requestIdanyOf 3 / anyOf 2nullवैकल्पिक / आइटम—
template.mappings.*anyOf 4objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 4stringपैरेंट में अनिवार्य
  • enum: ["formula"]
template.mappings.*.idanyOf 4stringपैरेंट में अनिवार्य
  • format: "uuid"
template.mappings.*.versionanyOf 4integerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 1000000
template.mappings.*anyOf 5objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 5stringपैरेंट में अनिवार्य
  • enum: ["table"]
template.mappings.*.sourceanyOf 5stringपैरेंट में अनिवार्य
  • enum: ["measurements","formulas"]
template.mappings.*.limitanyOf 5integerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 100
template.mappings.*anyOf 6objectवैकल्पिक / आइटम
  • additionalProperties: false
template.mappings.*.kindanyOf 6stringपैरेंट में अनिवार्य
  • enum: ["chart"]
template.mappings.*.sourceanyOf 6stringपैरेंट में अनिवार्य
  • enum: ["publication_by_platform"]
expected_versioninteger | nullपैरेंट में अनिवार्य—
expected_versionanyOf 1integerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 1000000
expected_versionanyOf 2nullपैरेंट में अनिवार्य—
mutation_idstringपैरेंट में अनिवार्य
  • format: "uuid"
संपूर्ण JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "template": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "version": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "format": {
          "type": "string",
          "enum": [
            "pptx",
            "docx",
            "xlsx"
          ]
        },
        "sourceBase64": {
          "type": "string",
          "maxLength": 12582912,
          "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
        },
        "sourceSha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "mappings": {
          "type": "object",
          "additionalProperties": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "text"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "required": [
                  "kind",
                  "value"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "selection"
                    ]
                  },
                  "field": {
                    "type": "string",
                    "enum": [
                      "accounts",
                      "period",
                      "timezone",
                      "platforms",
                      "dataset",
                      "reviewed",
                      "coverage"
                    ]
                  }
                },
                "required": [
                  "kind",
                  "field"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "metric"
                    ]
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "facebook",
                      "instagram",
                      "threads",
                      "youtube"
                    ]
                  },
                  "key": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 150
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100
                  },
                  "grain": {
                    "type": "string",
                    "enum": [
                      "post",
                      "account"
                    ]
                  },
                  "measurementKind": {
                    "type": "string",
                    "enum": [
                      "lifetime",
                      "snapshot",
                      "period",
                      "unknown"
                    ]
                  },
                  "accountId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "providerResourceId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sourcePath": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "requestId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "key",
                  "unit",
                  "grain",
                  "measurementKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "formula"
                    ]
                  },
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "version": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1000000
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "version"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "table"
                    ]
                  },
                  "source": {
                    "type": "string",
                    "enum": [
                      "measurements",
                      "formulas"
                    ]
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100
                  }
                },
                "required": [
                  "kind",
                  "source",
                  "limit"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "chart"
                    ]
                  },
                  "source": {
                    "type": "string",
                    "enum": [
                      "publication_by_platform"
                    ]
                  }
                },
                "required": [
                  "kind",
                  "source"
                ],
                "additionalProperties": false
              }
            ]
          }
        }
      },
      "required": [
        "id",
        "version",
        "name",
        "format",
        "sourceBase64",
        "sourceSha256",
        "mappings"
      ],
      "additionalProperties": false
    },
    "expected_version": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000
        },
        {
          "type": "null"
        }
      ]
    },
    "mutation_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "workspace_id",
    "template",
    "expected_version",
    "mutation_id"
  ],
  "additionalProperties": false
}

संरचित आउटपुट

यह स्कीमा सफल टूल परिणाम के structuredContent का वर्णन करता है। MCP रिस्पॉन्स में content भी होता है और कॉल विफल होने पर isError सेट हो सकता है। प्रकाशन के लिए स्वीकृत अनुरोध या टेक्स्ट रिस्पॉन्स को पुष्टि मानने के बजाय पोस्ट का अंतिम परिणाम पढ़ें। लिंक किया गया API ऑपरेशन अनुमतियाँ और पुनः प्रयास के नियम समझाता है।

Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।

संरचित आउटपुट
फ़ील्ड / शाखाप्रकार / अनिवार्यशर्तें
$objectपैरेंट में अनिवार्य
  • additionalProperties: false
contractVersionstringपैरेंट में अनिवार्य
  • const: "analytics-template/v1"
workspaceIdstringपैरेंट में अनिवार्य
  • format: "uuid"
idstringपैरेंट में अनिवार्य
  • format: "uuid"
versionintegerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 1000000
namestringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 100
formatstringपैरेंट में अनिवार्य
  • enum: ["pptx","docx","xlsx"]
sourceBase64stringपैरेंट में अनिवार्य
  • maxLength: 12582912
  • pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
sourceSha256stringपैरेंट में अनिवार्य
  • pattern: "^[a-f0-9]{64}$"
mappingsobjectपैरेंट में अनिवार्य
  • additionalProperties: {"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"text"},"value":{"type":"string","maxLength":2000}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"selection"},"field":{"type":"string","enum":["accounts","period","timezone","platforms","dataset","reviewed","coverage"]}},"required":["kind","field"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"metric"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"key":{"type":"string","minLength":1,"maxLength":150},"unit":{"type":"string","minLength":1,"maxLength":100},"grain":{"type":"string","enum":["post","account"]},"measurementKind":{"type":"string","enum":["lifetime","snapshot","period","unknown"]},"accountId":{"type":"string","format":"uuid"},"providerResourceId":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"sourcePath":{"type":"string","maxLength":2000},"requestId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["kind","platform","key","unit","grain","measurementKind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"formula"},"id":{"type":"string","format":"uuid"},"version":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","id","version"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"table"},"source":{"type":"string","enum":["measurements","formulas"]},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["kind","source","limit"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"chart"},"source":{"type":"string","const":"publication_by_platform"}},"required":["kind","source"],"additionalProperties":false}]}
mappings.*objectवैकल्पिक / आइटम—
mappings.*oneOf 1objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 1stringपैरेंट में अनिवार्य
  • const: "text"
mappings.*.valueoneOf 1stringपैरेंट में अनिवार्य
  • maxLength: 2000
mappings.*oneOf 2objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 2stringपैरेंट में अनिवार्य
  • const: "selection"
mappings.*.fieldoneOf 2stringपैरेंट में अनिवार्य
  • enum: ["accounts","period","timezone","platforms","dataset","reviewed","coverage"]
mappings.*oneOf 3objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 3stringपैरेंट में अनिवार्य
  • const: "metric"
mappings.*.platformoneOf 3stringपैरेंट में अनिवार्य
  • enum: ["facebook","instagram","threads","youtube"]
mappings.*.keyoneOf 3stringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 150
mappings.*.unitoneOf 3stringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 100
mappings.*.grainoneOf 3stringपैरेंट में अनिवार्य
  • enum: ["post","account"]
mappings.*.measurementKindoneOf 3stringपैरेंट में अनिवार्य
  • enum: ["lifetime","snapshot","period","unknown"]
mappings.*.accountIdoneOf 3stringवैकल्पिक / आइटम
  • format: "uuid"
mappings.*.providerResourceIdoneOf 3string | nullवैकल्पिक / आइटम—
mappings.*.providerResourceIdoneOf 3 / anyOf 1stringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 512
mappings.*.providerResourceIdoneOf 3 / anyOf 2nullवैकल्पिक / आइटम—
mappings.*.sourcePathoneOf 3stringवैकल्पिक / आइटम
  • maxLength: 2000
mappings.*.requestIdoneOf 3string | nullवैकल्पिक / आइटम—
mappings.*.requestIdoneOf 3 / anyOf 1stringवैकल्पिक / आइटम
  • format: "uuid"
mappings.*.requestIdoneOf 3 / anyOf 2nullवैकल्पिक / आइटम—
mappings.*oneOf 4objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 4stringपैरेंट में अनिवार्य
  • const: "formula"
mappings.*.idoneOf 4stringपैरेंट में अनिवार्य
  • format: "uuid"
mappings.*.versiononeOf 4integerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 1000000
mappings.*oneOf 5objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 5stringपैरेंट में अनिवार्य
  • const: "table"
mappings.*.sourceoneOf 5stringपैरेंट में अनिवार्य
  • enum: ["measurements","formulas"]
mappings.*.limitoneOf 5integerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 100
mappings.*oneOf 6objectवैकल्पिक / आइटम
  • additionalProperties: false
mappings.*.kindoneOf 6stringपैरेंट में अनिवार्य
  • const: "chart"
mappings.*.sourceoneOf 6stringपैरेंट में अनिवार्य
  • const: "publication_by_platform"
createdAtstringपैरेंट में अनिवार्य
  • 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)))$"
संपूर्ण JSON Schema
{
  "type": "object",
  "properties": {
    "contractVersion": {
      "type": "string",
      "const": "analytics-template/v1"
    },
    "workspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "version": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "format": {
      "type": "string",
      "enum": [
        "pptx",
        "docx",
        "xlsx"
      ]
    },
    "sourceBase64": {
      "type": "string",
      "maxLength": 12582912,
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    },
    "sourceSha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "mappings": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,63}$"
      },
      "additionalProperties": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "text"
              },
              "value": {
                "type": "string",
                "maxLength": 2000
              }
            },
            "required": [
              "kind",
              "value"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "selection"
              },
              "field": {
                "type": "string",
                "enum": [
                  "accounts",
                  "period",
                  "timezone",
                  "platforms",
                  "dataset",
                  "reviewed",
                  "coverage"
                ]
              }
            },
            "required": [
              "kind",
              "field"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "metric"
              },
              "platform": {
                "type": "string",
                "enum": [
                  "facebook",
                  "instagram",
                  "threads",
                  "youtube"
                ]
              },
              "key": {
                "type": "string",
                "minLength": 1,
                "maxLength": 150
              },
              "unit": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "grain": {
                "type": "string",
                "enum": [
                  "post",
                  "account"
                ]
              },
              "measurementKind": {
                "type": "string",
                "enum": [
                  "lifetime",
                  "snapshot",
                  "period",
                  "unknown"
                ]
              },
              "accountId": {
                "type": "string",
                "format": "uuid"
              },
              "providerResourceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sourcePath": {
                "type": "string",
                "maxLength": 2000
              },
              "requestId": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "kind",
              "platform",
              "key",
              "unit",
              "grain",
              "measurementKind"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "formula"
              },
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "version": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000000
              }
            },
            "required": [
              "kind",
              "id",
              "version"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "table"
              },
              "source": {
                "type": "string",
                "enum": [
                  "measurements",
                  "formulas"
                ]
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "required": [
              "kind",
              "source",
              "limit"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "chart"
              },
              "source": {
                "type": "string",
                "const": "publication_by_platform"
              }
            },
            "required": [
              "kind",
              "source"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    "createdAt": {
      "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": [
    "contractVersion",
    "workspaceId",
    "id",
    "version",
    "name",
    "format",
    "sourceBase64",
    "sourceSha256",
    "mappings",
    "createdAt"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

टूल कॉल का उदाहरण

उदाहरणों में स्कीमा से जाँचे काल्पनिक मान हैं। IDs को अधिकृत IDs, मीडिया को तैयार एसेट और तारीखों को पुष्ट प्रकाशन समय से बदलें। राइट सबमिट करने से पहले खाते की पात्रता जाँचें। यह पेज API अनुरोध नहीं भेजता।

{
  "name": "sosoapi_save_report_template",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "template": {
      "id": "11111111-1111-4111-8111-111111111111",
      "version": 1,
      "name": "example",
      "format": "pptx",
      "sourceBase64": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "sourceSha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "mappings": {}
    },
    "expected_version": null,
    "mutation_id": "11111111-1111-4111-8111-111111111111"
  }
}

structuredContent

{
  "contractVersion": "analytics-template/v1",
  "workspaceId": "11111111-1111-4111-8111-111111111111",
  "id": "11111111-1111-4111-8111-111111111111",
  "version": 1,
  "name": "example",
  "format": "pptx",
  "sourceBase64": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "sourceSha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "mappings": {},
  "createdAt": "2099-01-15T09:00:00Z"
}
MCP इंस्टॉल या कनेक्ट करें