يُحمّل البحث عند استخدامه فقط. تصفّح جميع الفئات أدناه.

أداة MCP

تحديث ملف المشروع

sosoapi_update_project_profile

تعديل حقول ملف العلامة التجارية لمشروع جزئياً. تبقى الحقول المحذوفة من الطلب كما هي. يلزم expected_profile_version من أحدث قراءة و idempotency_key (دور editor).

اقرأ بصيغة 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_profile_versionintegerمطلوب في العنصر الأب
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
idempotency_keystringمطلوب في العنصر الأب
  • minLength: 8
  • maxLength: 160
patchobjectمطلوب في العنصر الأب
  • additionalProperties: false
patch.taglinestring | nullاختياري / عنصر—
patch.taglineanyOf 1stringاختياري / عنصر
  • maxLength: 300
patch.taglineanyOf 2nullاختياري / عنصر—
patch.descriptionstring | nullاختياري / عنصر—
patch.descriptionanyOf 1stringاختياري / عنصر
  • maxLength: 4000
patch.descriptionanyOf 2nullاختياري / عنصر—
patch.voicestring | nullاختياري / عنصر—
patch.voiceanyOf 1stringاختياري / عنصر
  • maxLength: 1000
patch.voiceanyOf 2nullاختياري / عنصر—
patch.target_audiencestring | nullاختياري / عنصر—
patch.target_audienceanyOf 1stringاختياري / عنصر
  • maxLength: 1000
patch.target_audienceanyOf 2nullاختياري / عنصر—
patch.color_palettearrayاختياري / عنصر
  • maxItems: 20
patch.color_palette[]stringاختياري / عنصر
  • maxLength: 64
patch.goalsarrayاختياري / عنصر
  • maxItems: 50
patch.goals[]stringاختياري / عنصر
  • maxLength: 160
patch.no_go_topicsarrayاختياري / عنصر
  • maxItems: 100
patch.no_go_topics[]stringاختياري / عنصر
  • maxLength: 160
patch.language_primarystringاختياري / عنصر
  • minLength: 2
  • maxLength: 35
patch.positioningstring | nullاختياري / عنصر—
patch.positioninganyOf 1stringاختياري / عنصر
  • maxLength: 2000
patch.positioninganyOf 2nullاختياري / عنصر—
patch.uspstring | nullاختياري / عنصر—
patch.uspanyOf 1stringاختياري / عنصر
  • maxLength: 1000
patch.uspanyOf 2nullاختياري / عنصر—
patch.visual_identityobject | nullاختياري / عنصر—
patch.visual_identityanyOf 1objectاختياري / عنصر
  • additionalProperties: {}
patch.visual_identity.*anyOf 1any JSON valueاختياري / عنصر—
patch.visual_identityanyOf 2nullاختياري / عنصر—
patch.forbidden_claimsarrayاختياري / عنصر
  • maxItems: 100
patch.forbidden_claims[]stringاختياري / عنصر
  • maxLength: 240
patch.north_star_metricstring | nullاختياري / عنصر—
patch.north_star_metricanyOf 1stringاختياري / عنصر
  • maxLength: 300
patch.north_star_metricanyOf 2nullاختياري / عنصر—
patch.posting_cadenceobject | nullاختياري / عنصر—
patch.posting_cadenceanyOf 1objectاختياري / عنصر
  • additionalProperties: {}
patch.posting_cadence.*anyOf 1any JSON valueاختياري / عنصر—
patch.posting_cadenceanyOf 2nullاختياري / عنصر—
patch.app_store_url_iosstring | nullاختياري / عنصر—
patch.app_store_url_iosanyOf 1stringاختياري / عنصر
  • format: "uri"
patch.app_store_url_iosanyOf 2nullاختياري / عنصر—
patch.app_store_url_androidstring | nullاختياري / عنصر—
patch.app_store_url_androidanyOf 1stringاختياري / عنصر
  • format: "uri"
patch.app_store_url_androidanyOf 2nullاختياري / عنصر—
patch.app_metadataobjectاختياري / عنصر
  • additionalProperties: {}
patch.app_metadata.*any JSON valueاختياري / عنصر—
مخطط JSON Schema الكامل
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_profile_version": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 160
    },
    "patch": {
      "type": "object",
      "properties": {
        "tagline": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 300
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 4000
            },
            {
              "type": "null"
            }
          ]
        },
        "voice": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ]
        },
        "target_audience": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ]
        },
        "color_palette": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          }
        },
        "goals": {
          "maxItems": 50,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          }
        },
        "no_go_topics": {
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          }
        },
        "language_primary": {
          "type": "string",
          "minLength": 2,
          "maxLength": 35
        },
        "positioning": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000
            },
            {
              "type": "null"
            }
          ]
        },
        "usp": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ]
        },
        "visual_identity": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "forbidden_claims": {
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 240
          }
        },
        "north_star_metric": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 300
            },
            {
              "type": "null"
            }
          ]
        },
        "posting_cadence": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "app_store_url_ios": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "app_store_url_android": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "app_metadata": {
          "type": "object",
          "additionalProperties": {}
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "project_id",
    "expected_profile_version",
    "idempotency_key",
    "patch"
  ],
  "additionalProperties": false
}

مخرجات منظّمة

يصف المخطط structuredContent في نتيجة أداة ناجحة. تشمل استجابة MCP أيضاً content وقد تضبط isError عند الفشل. للنشر، اقرأ النتيجة النهائية بدلاً من اعتبار القبول أوالنص تأكيداً. تشرح عملية API المرتبطة الأذونات وقواعد المحاولة.

تعني «مطلوب» داخل الكائن الأب والفرع المختار. الحقل الابن المطلوب لا يجعل الأب الاختياري مطلوباً. نُسخت القواعد وأسماء الحقول أدناه من العقد.

مخرجات منظّمة
الحقل / الفرعالنوع / مطلوبالقيود
$objectمطلوب في العنصر الأب
  • additionalProperties: false
contract_versionstringمطلوب في العنصر الأب
  • const: "project/v1"
profileobjectمطلوب في العنصر الأب
  • additionalProperties: false
profile.project_idstringمطلوب في العنصر الأب
  • format: "uuid"
profile.workspace_idstringمطلوب في العنصر الأب
  • format: "uuid"
profile.taglinestring | nullمطلوب في العنصر الأب—
profile.taglineanyOf 1stringمطلوب في العنصر الأب—
profile.taglineanyOf 2nullمطلوب في العنصر الأب—
profile.descriptionstring | nullمطلوب في العنصر الأب—
profile.descriptionanyOf 1stringمطلوب في العنصر الأب—
profile.descriptionanyOf 2nullمطلوب في العنصر الأب—
profile.voicestring | nullمطلوب في العنصر الأب—
profile.voiceanyOf 1stringمطلوب في العنصر الأب—
profile.voiceanyOf 2nullمطلوب في العنصر الأب—
profile.target_audiencestring | nullمطلوب في العنصر الأب—
profile.target_audienceanyOf 1stringمطلوب في العنصر الأب—
profile.target_audienceanyOf 2nullمطلوب في العنصر الأب—
profile.color_palettearrayمطلوب في العنصر الأب—
profile.color_palette[]stringاختياري / عنصر—
profile.goalsarrayمطلوب في العنصر الأب—
profile.goals[]stringاختياري / عنصر—
profile.no_go_topicsarrayمطلوب في العنصر الأب—
profile.no_go_topics[]stringاختياري / عنصر—
profile.language_primarystringمطلوب في العنصر الأب—
profile.positioningstring | nullمطلوب في العنصر الأب—
profile.positioninganyOf 1stringمطلوب في العنصر الأب—
profile.positioninganyOf 2nullمطلوب في العنصر الأب—
profile.uspstring | nullمطلوب في العنصر الأب—
profile.uspanyOf 1stringمطلوب في العنصر الأب—
profile.uspanyOf 2nullمطلوب في العنصر الأب—
profile.visual_identityobject | nullمطلوب في العنصر الأب—
profile.visual_identityanyOf 1objectمطلوب في العنصر الأب
  • additionalProperties: {}
profile.visual_identity.*anyOf 1any JSON valueاختياري / عنصر—
profile.visual_identityanyOf 2nullمطلوب في العنصر الأب—
profile.forbidden_claimsarrayمطلوب في العنصر الأب—
profile.forbidden_claims[]stringاختياري / عنصر—
profile.north_star_metricstring | nullمطلوب في العنصر الأب—
profile.north_star_metricanyOf 1stringمطلوب في العنصر الأب—
profile.north_star_metricanyOf 2nullمطلوب في العنصر الأب—
profile.posting_cadenceobject | nullمطلوب في العنصر الأب—
profile.posting_cadenceanyOf 1objectمطلوب في العنصر الأب
  • additionalProperties: {}
profile.posting_cadence.*anyOf 1any JSON valueاختياري / عنصر—
profile.posting_cadenceanyOf 2nullمطلوب في العنصر الأب—
profile.app_store_url_iosstring | nullمطلوب في العنصر الأب—
profile.app_store_url_iosanyOf 1stringمطلوب في العنصر الأب—
profile.app_store_url_iosanyOf 2nullمطلوب في العنصر الأب—
profile.app_store_url_androidstring | nullمطلوب في العنصر الأب—
profile.app_store_url_androidanyOf 1stringمطلوب في العنصر الأب—
profile.app_store_url_androidanyOf 2nullمطلوب في العنصر الأب—
profile.app_metadataobjectمطلوب في العنصر الأب
  • additionalProperties: {}
profile.app_metadata.*any JSON valueاختياري / عنصر—
profile.profile_versionintegerمطلوب في العنصر الأب
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
profile.updated_bystring | nullمطلوب في العنصر الأب—
profile.updated_byanyOf 1stringمطلوب في العنصر الأب
  • format: "uuid"
profile.updated_byanyOf 2nullمطلوب في العنصر الأب—
profile.updated_by_kindstringمطلوب في العنصر الأب
  • enum: ["jwt","api_key","delegated_ai","migration"]
profile.updated_by_api_key_idstring | nullمطلوب في العنصر الأب—
profile.updated_by_api_key_idanyOf 1stringمطلوب في العنصر الأب
  • format: "uuid"
profile.updated_by_api_key_idanyOf 2nullمطلوب في العنصر الأب—
profile.updated_by_delegated_grant_idstring | nullمطلوب في العنصر الأب—
profile.updated_by_delegated_grant_idanyOf 1stringمطلوب في العنصر الأب
  • format: "uuid"
profile.updated_by_delegated_grant_idanyOf 2nullمطلوب في العنصر الأب—
profile.created_atstringمطلوب في العنصر الأب
  • 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)))$"
profile.updated_atstringمطلوب في العنصر الأب
  • 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)))$"
receipt_idstringمطلوب في العنصر الأب
  • format: "uuid"
appliedbooleanمطلوب في العنصر الأب—
dedupedbooleanمطلوب في العنصر الأب—
مخطط JSON Schema الكامل
{
  "type": "object",
  "properties": {
    "contract_version": {
      "type": "string",
      "const": "project/v1"
    },
    "profile": {
      "type": "object",
      "properties": {
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "tagline": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "voice": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_audience": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "color_palette": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "goals": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "no_go_topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "language_primary": {
          "type": "string"
        },
        "positioning": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "usp": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "visual_identity": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "forbidden_claims": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "north_star_metric": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "posting_cadence": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "app_store_url_ios": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "app_store_url_android": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "app_metadata": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        "profile_version": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "updated_by": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "updated_by_kind": {
          "type": "string",
          "enum": [
            "jwt",
            "api_key",
            "delegated_ai",
            "migration"
          ]
        },
        "updated_by_api_key_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "updated_by_delegated_grant_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "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)))$"
        },
        "updated_at": {
          "type": "string",
          "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)))$"
        }
      },
      "required": [
        "project_id",
        "workspace_id",
        "tagline",
        "description",
        "voice",
        "target_audience",
        "color_palette",
        "goals",
        "no_go_topics",
        "language_primary",
        "positioning",
        "usp",
        "visual_identity",
        "forbidden_claims",
        "north_star_metric",
        "posting_cadence",
        "app_store_url_ios",
        "app_store_url_android",
        "app_metadata",
        "profile_version",
        "updated_by",
        "updated_by_kind",
        "updated_by_api_key_id",
        "updated_by_delegated_grant_id",
        "created_at",
        "updated_at"
      ],
      "additionalProperties": false
    },
    "receipt_id": {
      "type": "string",
      "format": "uuid"
    },
    "applied": {
      "type": "boolean"
    },
    "deduped": {
      "type": "boolean"
    }
  },
  "required": [
    "contract_version",
    "profile",
    "receipt_id",
    "applied",
    "deduped"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

مثال لاستدعاء أداة

تستخدم الأمثلة قيماً خيالية مفحوصة بالمخططات. استبدل المعرّفات بالمفوّض لك، والوسائط بأصول جاهزة، والتواريخ بوقت نشر مؤكد. افحص أهلية الحساب قبل الكتابة. لا تُرسل الصفحة طلبات API.

{
  "name": "sosoapi_update_project_profile",
  "arguments": {
    "project_id": "11111111-1111-4111-8111-111111111111",
    "expected_profile_version": 1,
    "idempotency_key": "example-intent-0001",
    "patch": {
      "tagline": "A fictional project for the documentation example."
    }
  }
}

structuredContent

{
  "contract_version": "project/v1",
  "profile": {
    "project_id": "11111111-1111-4111-8111-111111111111",
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "tagline": null,
    "description": null,
    "voice": null,
    "target_audience": null,
    "color_palette": [],
    "goals": [],
    "no_go_topics": [],
    "language_primary": "example",
    "positioning": null,
    "usp": null,
    "visual_identity": null,
    "forbidden_claims": [],
    "north_star_metric": null,
    "posting_cadence": null,
    "app_store_url_ios": null,
    "app_store_url_android": null,
    "app_metadata": {},
    "profile_version": 1,
    "updated_by": null,
    "updated_by_kind": "jwt",
    "updated_by_api_key_id": null,
    "updated_by_delegated_grant_id": null,
    "created_at": "2099-01-15T09:00:00Z",
    "updated_at": "2099-01-15T09:00:00Z"
  },
  "receipt_id": "11111111-1111-4111-8111-111111111111",
  "applied": false,
  "deduped": false
}
تثبيت MCP أو ربطه