検索は使用時のみ読み込みます。以下ですべてのカテゴリを閲覧できます。

MCPツール

プロジェクトの既定アカウントを置換

sosoapi_replace_project_account_defaults

プロジェクトの既定アカウントと上書き設定を一度に置換します。最新の取得結果のexpected_defaults_version、idempotency_key、編集者ロールが必要です。

Markdownで読む

プロファイルと通信方式

プロファイル: full · 通信方式: stdio, http

coreまたはfullで表示ツールを選べますが権限は変わりません。ローカルアップロードはstdioのみでHTTPは非対応です。SOSOAPI_OUTPUT_SCHEMAS=1で検出時に出力スキーマを含めます。設定に関係なく構造化結果を返します。

権限と副作用

注釈はクライアントがツールを説明するためのものです。各呼び出しでは引き続き認証、ロール、リソースアクセス、機能権限を確認します。

{
  "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
}

構造化された出力

このスキーマは、成功時のツール結果に含まれる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
}

ツール呼び出しの例

スキーマ確認済みの架空値の例です。認可された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をインストール・接続