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

MCP 工具

替换项目账号默认值

sosoapi_replace_project_account_defaults

一次替换项目的默认账号与覆盖设置。需要最近一次读取的 expected_defaults_version 及 idempotency_key(editor 角色)。

阅读 Markdown

配置与传输方式

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

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

权限与副作用

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

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

输入字段

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

输入字段
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
project_idstring在父对象中必填
  • format: "uuid"
expected_defaults_versioninteger在父对象中必填
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
idempotency_keystring在父对象中必填
  • minLength: 8
  • maxLength: 160
overridesarray在父对象中必填
  • maxItems: 200
overrides[]object可选/项目
  • additionalProperties: false
overrides[].social_account_idstring在父对象中必填
  • format: "uuid"
overrides[].enabledboolean在父对象中必填—
overrides[].languagestring在父对象中必填
  • minLength: 1
  • maxLength: 35
overrides[].regionstring在父对象中必填
  • minLength: 1
  • maxLength: 16
overrides[].timezonestring在父对象中必填
  • minLength: 1
  • maxLength: 80
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_defaults_version": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 160
    },
    "overrides": {
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "social_account_id": {
            "type": "string",
            "format": "uuid"
          },
          "enabled": {
            "type": "boolean"
          },
          "language": {
            "type": "string",
            "minLength": 1,
            "maxLength": 35
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16
          },
          "timezone": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          }
        },
        "required": [
          "social_account_id",
          "enabled",
          "language",
          "region",
          "timezone"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "project_id",
    "expected_defaults_version",
    "idempotency_key",
    "overrides"
  ],
  "additionalProperties": false
}

结构化输出

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

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

结构化输出
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
project_idstring在父对象中必填
  • format: "uuid"
defaults_versioninteger在父对象中必填
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
accountsarray在父对象中必填—
accounts[]object可选/项目
  • additionalProperties: false
accounts[].social_account_idstring在父对象中必填
  • format: "uuid"
accounts[].workspace_idstring在父对象中必填
  • format: "uuid"
accounts[].platformstring在父对象中必填
  • enum: ["instagram","threads","facebook","youtube","x"]
accounts[].platform_user_idstring | null在父对象中必填—
accounts[].platform_user_idanyOf 1string在父对象中必填—
accounts[].platform_user_idanyOf 2null在父对象中必填—
accounts[].usernamestring | null在父对象中必填—
accounts[].usernameanyOf 1string在父对象中必填—
accounts[].usernameanyOf 2null在父对象中必填—
accounts[].facebook_page_namestring | null在父对象中必填—
accounts[].facebook_page_nameanyOf 1string在父对象中必填—
accounts[].facebook_page_nameanyOf 2null在父对象中必填—
accounts[].enabledboolean在父对象中必填—
accounts[].languagestring在父对象中必填
  • minLength: 1
  • maxLength: 35
accounts[].regionstring在父对象中必填
  • minLength: 1
  • maxLength: 16
accounts[].timezonestring在父对象中必填
  • minLength: 1
  • maxLength: 80
accounts[].resolution_sourcestring在父对象中必填
  • enum: ["project_default","workspace_default","connected_account"]
receipt_idstring在父对象中必填
  • format: "uuid"
appliedboolean在父对象中必填—
dedupedboolean在父对象中必填—
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "defaults_version": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "social_account_id": {
            "type": "string",
            "format": "uuid"
          },
          "workspace_id": {
            "type": "string",
            "format": "uuid"
          },
          "platform": {
            "type": "string",
            "enum": [
              "instagram",
              "threads",
              "facebook",
              "youtube",
              "x"
            ]
          },
          "platform_user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "facebook_page_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "language": {
            "type": "string",
            "minLength": 1,
            "maxLength": 35
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16
          },
          "timezone": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "resolution_source": {
            "type": "string",
            "enum": [
              "project_default",
              "workspace_default",
              "connected_account"
            ]
          }
        },
        "required": [
          "social_account_id",
          "workspace_id",
          "platform",
          "platform_user_id",
          "username",
          "facebook_page_name",
          "enabled",
          "language",
          "region",
          "timezone",
          "resolution_source"
        ],
        "additionalProperties": false
      }
    },
    "receipt_id": {
      "type": "string",
      "format": "uuid"
    },
    "applied": {
      "type": "boolean"
    },
    "deduped": {
      "type": "boolean"
    }
  },
  "required": [
    "project_id",
    "defaults_version",
    "accounts",
    "receipt_id",
    "applied",
    "deduped"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

工具调用示例

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

{
  "name": "sosoapi_replace_project_account_defaults",
  "arguments": {
    "project_id": "11111111-1111-4111-8111-111111111111",
    "expected_defaults_version": 1,
    "idempotency_key": "example-intent-0001",
    "overrides": []
  }
}

structuredContent

{
  "project_id": "11111111-1111-4111-8111-111111111111",
  "defaults_version": 1,
  "accounts": [],
  "receipt_id": "11111111-1111-4111-8111-111111111111",
  "applied": false,
  "deduped": false
}
安装或连接 MCP