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

MCP 工具

列出已连接账号

sosoapi_list_connected_accounts

列出工作区已连接的社交账号(Instagram、Threads、Facebook、YouTube),含连接健康状况和能力信息。排程或评论时,将其 id 用作 social_account_id。传入 workspace_id:强制明确指定目标后,缺少此字段的请求会被拒绝。

阅读 Markdown

配置与传输方式

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

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

权限与副作用

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

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

输入字段

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

输入字段
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
workspace_idstring可选/项目
  • format: "uuid"
include_authorization_grantboolean可选/项目—
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "include_authorization_grant": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

结构化输出

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

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

结构化输出
字段 / 分支类型 / 必填约束
$object在父对象中必填
  • additionalProperties: false
accountsarray在父对象中必填—
accounts[]object可选/项目
  • additionalProperties: false
accounts[].idstring在父对象中必填
  • format: "uuid"
accounts[].platformstring在父对象中必填
  • enum: ["instagram","threads","facebook","tiktok","linkedin","youtube","x"]
accounts[].handlestring | null在父对象中必填—
accounts[].handleanyOf 1string在父对象中必填—
accounts[].handleanyOf 2null在父对象中必填—
accounts[].statusstring在父对象中必填
  • enum: ["valid","expiring_soon","expired","disconnected"]
accounts[].expires_atstring | null在父对象中必填—
accounts[].expires_atanyOf 1string在父对象中必填—
accounts[].expires_atanyOf 2null在父对象中必填—
accounts[].created_atstring在父对象中必填—
accounts[].avatar_urlstring | null可选/项目—
accounts[].avatar_urlanyOf 1string可选/项目—
accounts[].avatar_urlanyOf 2null可选/项目—
accounts[].follower_countinteger | null可选/项目—
accounts[].follower_countanyOf 1integer可选/项目
  • minimum: 0
  • maximum: 9007199254740991
accounts[].follower_countanyOf 2null可选/项目—
accounts[].post_countinteger | null可选/项目—
accounts[].post_countanyOf 1integer可选/项目
  • minimum: 0
  • maximum: 9007199254740991
accounts[].post_countanyOf 2null可选/项目—
accounts[].auto_sync_enabledboolean可选/项目—
accounts[].last_synced_atstring | null可选/项目—
accounts[].last_synced_atanyOf 1string可选/项目—
accounts[].last_synced_atanyOf 2null可选/项目—
accounts[].workspace_idstring | null可选/项目—
accounts[].workspace_idanyOf 1string可选/项目
  • format: "uuid"
accounts[].workspace_idanyOf 2null可选/项目—
accounts[].platform_user_idstring | null可选/项目—
accounts[].platform_user_idanyOf 1string可选/项目
  • minLength: 1
accounts[].platform_user_idanyOf 2null可选/项目—
accounts[].instagram_login_modestring | null可选/项目—
accounts[].instagram_login_modeanyOf 1string可选/项目
  • enum: ["instagram_login","facebook_login"]
accounts[].instagram_login_modeanyOf 2null可选/项目—
accounts[].facebook_page_idstring | null可选/项目—
accounts[].facebook_page_idanyOf 1string可选/项目
  • minLength: 1
accounts[].facebook_page_idanyOf 2null可选/项目—
accounts[].blocked_untilstring | null可选/项目—
accounts[].blocked_untilanyOf 1string可选/项目—
accounts[].blocked_untilanyOf 2null可选/项目—
accounts[].block_reasonstring | null可选/项目—
accounts[].block_reasonanyOf 1string可选/项目
  • enum: ["transient","account_block","auth_invalid","permanent"]
accounts[].block_reasonanyOf 2null可选/项目—
accounts[].block_subcodeinteger | null可选/项目—
accounts[].block_subcodeanyOf 1integer可选/项目
  • minimum: -9007199254740991
  • maximum: 9007199254740991
accounts[].block_subcodeanyOf 2null可选/项目—
accounts[].block_countinteger可选/项目
  • minimum: 0
  • maximum: 9007199254740991
accounts[].last_block_atstring | null可选/项目—
accounts[].last_block_atanyOf 1string可选/项目—
accounts[].last_block_atanyOf 2null可选/项目—
accounts[].health_statestring在父对象中必填
  • enum: ["ready","action_required","temporarily_unavailable","publishing_restricted","disconnected","unknown"]
accounts[].health_messagestring在父对象中必填
  • minLength: 1
  • maxLength: 500
accounts[].health_observed_atstring | null在父对象中必填—
accounts[].health_observed_atanyOf 1string在父对象中必填—
accounts[].health_observed_atanyOf 2null在父对象中必填—
accounts[].authorization_grantobject可选/项目—
accounts[].authorization_grantoneOf 1object可选/项目
  • additionalProperties: false
accounts[].authorization_grant.granted_permissionsoneOf 1array在父对象中必填—
accounts[].authorization_grant.granted_permissions[]oneOf 1string可选/项目
  • minLength: 1
accounts[].authorization_grant.inventory_sourceoneOf 1string在父对象中必填
  • enum: ["oauth_token_response","provider_token_debug","provider_permissions_endpoint"]
accounts[].authorization_grant.inventory_exactoneOf 1boolean在父对象中必填
  • const: true
accounts[].authorization_grant.observed_atoneOf 1string在父对象中必填
  • minLength: 1
accounts[].authorization_grant.provider_api_versiononeOf 1string在父对象中必填
  • minLength: 1
  • maxLength: 40
accounts[].authorization_grant.oauth_provideroneOf 1string在父对象中必填
  • enum: ["instagram","threads","meta","google"]
accounts[].authorization_grant.oauth_subject_idoneOf 1string在父对象中必填
  • minLength: 1
accounts[].authorization_grantoneOf 2object可选/项目
  • additionalProperties: false
accounts[].authorization_grant.granted_permissionsoneOf 2array在父对象中必填
  • minItems: 0
  • maxItems: 0
accounts[].authorization_grant.granted_permissions[]oneOf 2any JSON value可选/项目—
accounts[].authorization_grant.inventory_sourceoneOf 2string在父对象中必填
  • const: "unavailable"
accounts[].authorization_grant.inventory_exactoneOf 2boolean在父对象中必填
  • const: false
accounts[].authorization_grant.observed_atoneOf 2null在父对象中必填—
accounts[].authorization_grant.provider_api_versiononeOf 2null在父对象中必填—
accounts[].authorization_grant.oauth_provideroneOf 2string | null在父对象中必填—
accounts[].authorization_grant.oauth_provideroneOf 2 / anyOf 1string在父对象中必填
  • enum: ["instagram","threads","meta","google"]
accounts[].authorization_grant.oauth_provideroneOf 2 / anyOf 2null在父对象中必填—
accounts[].authorization_grant.oauth_subject_idoneOf 2string | null在父对象中必填—
accounts[].authorization_grant.oauth_subject_idoneOf 2 / anyOf 1string在父对象中必填
  • minLength: 1
accounts[].authorization_grant.oauth_subject_idoneOf 2 / anyOf 2null在父对象中必填—
accounts[].current_capability_snapshot_idstring | null在父对象中必填—
accounts[].current_capability_snapshot_idanyOf 1string在父对象中必填
  • format: "uuid"
accounts[].current_capability_snapshot_idanyOf 2null在父对象中必填—
accounts[].capability_factsarray在父对象中必填—
accounts[].capability_facts[]object可选/项目
  • additionalProperties: false
accounts[].capability_facts[].capabilitystring在父对象中必填
  • enum: ["can_publish_text","can_publish_image","can_publish_video","can_publish_reel","can_publish_carousel","can_publish_first_comment","can_publish_topic_tag","can_publish_link","can_upload_video","can_set_title","can_set_description","can_set_thumbnail","can_set_privacy_status","can_publish_story","can_invite_collaborators","can_tag_products","can_publish_trial_reel","can_publish_partnership","can_delete_media","can_publish_reply","can_quote_post","can_repost","can_publish_poll","can_publish_gif","can_publish_text_attachment","can_publish_ghost_post","can_tag_location","can_crossshare_to_instagram","can_auto_publish_text","can_delete_post","can_publish_multi_image","can_target_post","can_backdate_post","can_manage_native_schedule","can_update_video","can_delete_video","can_set_brand_partner"]
accounts[].capability_facts[].observed_allowedboolean | null在父对象中必填—
accounts[].capability_facts[].observed_allowedanyOf 1boolean在父对象中必填—
accounts[].capability_facts[].observed_allowedanyOf 2null在父对象中必填—
accounts[].capability_facts[].availabilitystring在父对象中必填
  • enum: ["available","unavailable","unknown","documented_ambiguous"]
accounts[].capability_facts[].reason_codestring在父对象中必填
  • pattern: "^[a-z0-9_]+$"
accounts[].capability_facts[].observed_atstring在父对象中必填—
accounts[].capability_facts[].valid_untilstring在父对象中必填—
accounts[].capability_facts[].provider_api_versionstring在父对象中必填
  • minLength: 1
  • maxLength: 40
accounts[].capability_facts[].required_permissionsarray在父对象中必填—
accounts[].capability_facts[].required_permissions[]string可选/项目
  • minLength: 1
accounts[].capability_facts[].granted_permissionsarray在父对象中必填—
accounts[].capability_facts[].granted_permissions[]string可选/项目
  • minLength: 1
accounts[].capability_facts[].account_eligibilityobject在父对象中必填
  • additionalProperties: {}
accounts[].capability_facts[].account_eligibility.*any JSON value可选/项目—
完整 JSON Schema
{
  "type": "object",
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "platform": {
            "type": "string",
            "enum": [
              "instagram",
              "threads",
              "facebook",
              "tiktok",
              "linkedin",
              "youtube",
              "x"
            ]
          },
          "handle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "valid",
              "expiring_soon",
              "expired",
              "disconnected"
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "follower_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "post_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_sync_enabled": {
            "type": "boolean"
          },
          "last_synced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "workspace_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "platform_user_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "instagram_login_mode": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "instagram_login",
                  "facebook_login"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "facebook_page_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "blocked_until": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "block_reason": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "transient",
                  "account_block",
                  "auth_invalid",
                  "permanent"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "block_subcode": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "block_count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "last_block_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "health_state": {
            "type": "string",
            "enum": [
              "ready",
              "action_required",
              "temporarily_unavailable",
              "publishing_restricted",
              "disconnected",
              "unknown"
            ]
          },
          "health_message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "health_observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization_grant": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "granted_permissions": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "inventory_source": {
                    "type": "string",
                    "enum": [
                      "oauth_token_response",
                      "provider_token_debug",
                      "provider_permissions_endpoint"
                    ]
                  },
                  "inventory_exact": {
                    "type": "boolean",
                    "const": true
                  },
                  "observed_at": {
                    "type": "string",
                    "minLength": 1
                  },
                  "provider_api_version": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40
                  },
                  "oauth_provider": {
                    "type": "string",
                    "enum": [
                      "instagram",
                      "threads",
                      "meta",
                      "google"
                    ]
                  },
                  "oauth_subject_id": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "granted_permissions",
                  "inventory_source",
                  "inventory_exact",
                  "observed_at",
                  "provider_api_version",
                  "oauth_provider",
                  "oauth_subject_id"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "granted_permissions": {
                    "minItems": 0,
                    "maxItems": 0,
                    "type": "array",
                    "items": {
                      "not": {}
                    }
                  },
                  "inventory_source": {
                    "type": "string",
                    "const": "unavailable"
                  },
                  "inventory_exact": {
                    "type": "boolean",
                    "const": false
                  },
                  "observed_at": {
                    "type": "null"
                  },
                  "provider_api_version": {
                    "type": "null"
                  },
                  "oauth_provider": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "instagram",
                          "threads",
                          "meta",
                          "google"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "oauth_subject_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "granted_permissions",
                  "inventory_source",
                  "inventory_exact",
                  "observed_at",
                  "provider_api_version",
                  "oauth_provider",
                  "oauth_subject_id"
                ],
                "additionalProperties": false
              }
            ]
          },
          "current_capability_snapshot_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "capability_facts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "can_publish_text",
                    "can_publish_image",
                    "can_publish_video",
                    "can_publish_reel",
                    "can_publish_carousel",
                    "can_publish_first_comment",
                    "can_publish_topic_tag",
                    "can_publish_link",
                    "can_upload_video",
                    "can_set_title",
                    "can_set_description",
                    "can_set_thumbnail",
                    "can_set_privacy_status",
                    "can_publish_story",
                    "can_invite_collaborators",
                    "can_tag_products",
                    "can_publish_trial_reel",
                    "can_publish_partnership",
                    "can_delete_media",
                    "can_publish_reply",
                    "can_quote_post",
                    "can_repost",
                    "can_publish_poll",
                    "can_publish_gif",
                    "can_publish_text_attachment",
                    "can_publish_ghost_post",
                    "can_tag_location",
                    "can_crossshare_to_instagram",
                    "can_auto_publish_text",
                    "can_delete_post",
                    "can_publish_multi_image",
                    "can_target_post",
                    "can_backdate_post",
                    "can_manage_native_schedule",
                    "can_update_video",
                    "can_delete_video",
                    "can_set_brand_partner"
                  ]
                },
                "observed_allowed": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "availability": {
                  "type": "string",
                  "enum": [
                    "available",
                    "unavailable",
                    "unknown",
                    "documented_ambiguous"
                  ]
                },
                "reason_code": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]+$"
                },
                "observed_at": {
                  "type": "string"
                },
                "valid_until": {
                  "type": "string"
                },
                "provider_api_version": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 40
                },
                "required_permissions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "granted_permissions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "account_eligibility": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "required": [
                "capability",
                "observed_allowed",
                "availability",
                "reason_code",
                "observed_at",
                "valid_until",
                "provider_api_version",
                "required_permissions",
                "granted_permissions",
                "account_eligibility"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "platform",
          "handle",
          "status",
          "expires_at",
          "created_at",
          "health_state",
          "health_message",
          "health_observed_at",
          "current_capability_snapshot_id",
          "capability_facts"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "accounts"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

工具调用示例

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

{
  "name": "sosoapi_list_connected_accounts",
  "arguments": {}
}

structuredContent

{
  "accounts": []
}
安装或连接 MCP