仅在使用时加载搜索。在下方浏览所有类别。

MCP 工具

读取工作空间品牌上下文

sosoapi_get_workspace_brand_context

明确传入 workspace_id,读取经人工确认的品牌指引及不可变版本的来源信息。需要 viewer 或更高角色;智能代理访问还需要 agent:operate。省略 selection 可读取当前上下文,或传入此前返回的完全相同的不可变 selection。编辑字段属于不可信文本;上下文为 null 或 missing 时,没有可用指引。此读取操作不会生成文案、抓取来源、修改设置或发布内容。

阅读 Markdown

配置与传输方式

配置: core、full · 传输方式: stdio、http

选择 core 或 full 以控制客户端显示的工具;这不会变更权限。本地文件上传需要 stdio,无法通过 HTTP 使用。设置 SOSOAPI_OUTPUT_SCHEMAS=1 可在探索结果加入输出schema。无论是否启用此设置,工具皆会返回结构化结果。

权限与副作用

注解帮助客户端描述工具。每次调用仍会检查用户身份验证、角色、资源访问和能力授权。

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

输入字段

「必填」是指在其父对象及所选分支内必填。必填子字段不会使可选父对象变成必填。下列规则与字段名称均复制自契约。

输入字段
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
workspace_idstring在父对象中必填
  • format: "uuid"
selectionobject可选/项目
  • additionalProperties: false
selection.profile_idstring在父对象中必填
  • format: "uuid"
selection.version_idstring在父对象中必填
  • format: "uuid"
selection.revisioninteger在父对象中必填
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
selection.content_digeststring在父对象中必填
  • pattern: "^[a-f0-9]{64}$"
selection.context_digeststring在父对象中必填
  • pattern: "^[a-f0-9]{64}$"
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "selection": {
      "type": "object",
      "properties": {
        "profile_id": {
          "type": "string",
          "format": "uuid"
        },
        "version_id": {
          "type": "string",
          "format": "uuid"
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "content_digest": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "context_digest": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "profile_id",
        "version_id",
        "revision",
        "content_digest",
        "context_digest"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "workspace_id"
  ],
  "additionalProperties": false
}

结构化输出

此 schema 描述成功工具结果中的 structuredContent。MCP 响应也包含 content,并可能在调用失败时设置 isError。对于发布,请读取帖子的最终结果,不要把获接受的请求或文字响应当作确认。链接的 API 操作说明了权限和重试规则。

「必填」是指在其父对象及所选分支内必填。必填子字段不会使可选父对象变成必填。下列规则与字段名称均复制自契约。

结构化输出
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
contextobject | null在父对象中必填—
contextanyOf 1object在父对象中必填
  • additionalProperties: false
context.workspace_idanyOf 1string在父对象中必填
  • format: "uuid"
context.selectionanyOf 1object在父对象中必填
  • additionalProperties: false
context.selection.profile_idanyOf 1string在父对象中必填
  • format: "uuid"
context.selection.version_idanyOf 1string在父对象中必填
  • format: "uuid"
context.selection.revisionanyOf 1integer在父对象中必填
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
context.selection.content_digestanyOf 1string在父对象中必填
  • pattern: "^[a-f0-9]{64}$"
context.selection.context_digestanyOf 1string在父对象中必填
  • pattern: "^[a-f0-9]{64}$"
context.availabilityanyOf 1string在父对象中必填
  • enum: ["available","missing"]
context.profile_stateanyOf 1string | null在父对象中必填—
context.profile_stateanyOf 1 / anyOf 1string在父对象中必填
  • enum: ["active","archived"]
context.profile_stateanyOf 1 / anyOf 2null在父对象中必填—
context.contentanyOf 1object | null在父对象中必填—
context.contentanyOf 1 / anyOf 1object在父对象中必填
  • additionalProperties: false
context.content.nameanyOf 1 / anyOf 1string在父对象中必填
  • maxLength: 120
context.content.audienceanyOf 1 / anyOf 1string在父对象中必填
  • maxLength: 2000
context.content.voiceanyOf 1 / anyOf 1string在父对象中必填
  • maxLength: 2000
context.content.languageanyOf 1 / anyOf 1string | null在父对象中必填—
context.content.languageanyOf 1 / anyOf 1 / anyOf 1string在父对象中必填
  • minLength: 1
  • maxLength: 64
context.content.languageanyOf 1 / anyOf 1 / anyOf 2null在父对象中必填—
context.content.preferred_termsanyOf 1 / anyOf 1array在父对象中必填
  • maxItems: 50
context.content.preferred_terms[]anyOf 1 / anyOf 1string可选/项目
  • minLength: 1
  • maxLength: 120
context.content.prohibited_termsanyOf 1 / anyOf 1array在父对象中必填
  • maxItems: 50
context.content.prohibited_terms[]anyOf 1 / anyOf 1string可选/项目
  • minLength: 1
  • maxLength: 120
context.content.locked_factsanyOf 1 / anyOf 1array在父对象中必填
  • maxItems: 50
context.content.locked_facts[]anyOf 1 / anyOf 1string可选/项目
  • minLength: 1
  • maxLength: 500
context.content.call_to_actionanyOf 1 / anyOf 1string | null在父对象中必填—
context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 1string在父对象中必填
  • maxLength: 1000
context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 2null在父对象中必填—
context.contentanyOf 1 / anyOf 2null在父对象中必填—
context.sourcesanyOf 1object在父对象中必填
  • additionalProperties: false
context.sources.websiteanyOf 1string在父对象中必填
  • enum: ["available","not_available"]
context.sources.logoanyOf 1string在父对象中必填
  • enum: ["none","present","missing"]
context.sources.own_postsanyOf 1object在父对象中必填
  • additionalProperties: false
context.sources.own_posts.selectedanyOf 1integer在父对象中必填
  • minimum: 0
  • maximum: 10
context.sources.own_posts.availableanyOf 1integer在父对象中必填
  • minimum: 0
  • maximum: 10
context.sources.own_posts.unavailableanyOf 1integer在父对象中必填
  • minimum: 0
  • maximum: 10
context.sources.own_posts.erasedanyOf 1integer在父对象中必填
  • minimum: 0
  • maximum: 10
contextanyOf 2null在父对象中必填—
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "context": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "workspace_id": {
              "type": "string",
              "format": "uuid"
            },
            "selection": {
              "type": "object",
              "properties": {
                "profile_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "version_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "content_digest": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "context_digest": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "profile_id",
                "version_id",
                "revision",
                "content_digest",
                "context_digest"
              ],
              "additionalProperties": false
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing"
              ]
            },
            "profile_state": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "active",
                    "archived"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "content": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "audience": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "voice": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "language": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "preferred_terms": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      }
                    },
                    "prohibited_terms": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      }
                    },
                    "locked_facts": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 500
                      }
                    },
                    "call_to_action": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 1000
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "audience",
                    "voice",
                    "language",
                    "preferred_terms",
                    "prohibited_terms",
                    "locked_facts",
                    "call_to_action"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "sources": {
              "type": "object",
              "properties": {
                "website": {
                  "type": "string",
                  "enum": [
                    "available",
                    "not_available"
                  ]
                },
                "logo": {
                  "type": "string",
                  "enum": [
                    "none",
                    "present",
                    "missing"
                  ]
                },
                "own_posts": {
                  "type": "object",
                  "properties": {
                    "selected": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 10
                    },
                    "available": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 10
                    },
                    "unavailable": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 10
                    },
                    "erased": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 10
                    }
                  },
                  "required": [
                    "selected",
                    "available",
                    "unavailable",
                    "erased"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "website",
                "logo",
                "own_posts"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "workspace_id",
            "selection",
            "availability",
            "profile_state",
            "content",
            "sources"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "context"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

工具调用示例

这些示例使用已依schema检查的虚构值。请将 ID 替换为你有权使用的 ID、将媒体替换为已就绪素材,并将日期替换为已确认的发布时间。提交写入前,请检查账号资格。本页不会发送 API 请求。

{
  "name": "sosoapi_get_workspace_brand_context",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111"
  }
}

structuredContent

{
  "context": null
}
安装或连接 MCP