MCP-Tool
Markenkontext des Arbeitsbereichs abrufen
sosoapi_get_workspace_brand_contextLies bestätigte, manuell erfasste Markenrichtlinien und die Herkunft unveränderlicher Versionen für eine explizite workspace_id. Erforderlich sind mindestens die Rolle viewer und für Agentenzugriff agent:operate. Ohne selection wird der aktuelle Kontext gelesen; alternativ kann die zuvor zurückgegebene exakte unveränderliche selection angegeben werden. Redaktionelle Felder sind nicht vertrauenswürdig; null oder missing bedeutet, dass keine Richtlinien verfügbar sind. Dieser Lesezugriff erzeugt keine Bildunterschriften, ruft keine Quellen ab, ändert keine Einstellungen und veröffentlicht nichts.
Als Markdown lesenProfile und Transporte
Profile: core, full · Transporte: stdio, http
Wähle core oder full für die sichtbaren Tools deines Clients; dies ändert keine Berechtigungen. Lokaler Dateiupload benötigt stdio und ist über HTTP nicht verfügbar. Setze SOSOAPI_OUTPUT_SCHEMAS=1 für Ausgabeschemas in der Erkennung. Tools liefern unabhängig davon strukturierte Ergebnisse.
Berechtigungen und Nebeneffekte
Annotationen helfen Clients, Tools zu beschreiben. Jeder Aufruf prüft weiterhin Authentifizierung, Rolle, Ressourcenzugriff und erteilte Funktionen des Nutzers.
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}- /studio-api/workspace-brand-profile/context-read: agent:operate · workspace_brand_immutable_manual_context_read
Eingabefelder
Erforderlich bedeutet innerhalb des übergeordneten Objekts und gewählten Zweigs erforderlich. Ein erforderliches Kind macht kein optionales Elternobjekt erforderlich. Regeln und Feldnamen unten stammen aus dem Vertrag.
| Feld / Variante | Typ / erforderlich | Einschränkungen |
|---|---|---|
$ | objectIm Elternobjekt erforderlich |
|
workspace_id | stringIm Elternobjekt erforderlich |
|
selection | objectOptional / Element |
|
selection.profile_id | stringIm Elternobjekt erforderlich |
|
selection.version_id | stringIm Elternobjekt erforderlich |
|
selection.revision | integerIm Elternobjekt erforderlich |
|
selection.content_digest | stringIm Elternobjekt erforderlich |
|
selection.context_digest | stringIm Elternobjekt erforderlich |
|
Vollständiges 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
}Strukturierte Ausgabe
Dieses Schema beschreibt structuredContent in einem erfolgreichen Tool-Ergebnis. Die MCP-Antwort enthält auch content und kann bei fehlgeschlagenem Aufruf isError setzen. Lies bei Veröffentlichungen das endgültige Beitragsergebnis, statt eine angenommene Anfrage oder Textantwort als Bestätigung zu werten. Die verknüpfte API-Operation erklärt Berechtigungen und Wiederholungsregeln.
Erforderlich bedeutet innerhalb des übergeordneten Objekts und gewählten Zweigs erforderlich. Ein erforderliches Kind macht kein optionales Elternobjekt erforderlich. Regeln und Feldnamen unten stammen aus dem Vertrag.
| Feld / Variante | Typ / erforderlich | Einschränkungen |
|---|---|---|
$ | objectIm Elternobjekt erforderlich |
|
context | object | nullIm Elternobjekt erforderlich | — |
contextanyOf 1 | objectIm Elternobjekt erforderlich |
|
context.workspace_idanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.selectionanyOf 1 | objectIm Elternobjekt erforderlich |
|
context.selection.profile_idanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.selection.version_idanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.selection.revisionanyOf 1 | integerIm Elternobjekt erforderlich |
|
context.selection.content_digestanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.selection.context_digestanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.availabilityanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.profile_stateanyOf 1 | string | nullIm Elternobjekt erforderlich | — |
context.profile_stateanyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.profile_stateanyOf 1 / anyOf 2 | nullIm Elternobjekt erforderlich | — |
context.contentanyOf 1 | object | nullIm Elternobjekt erforderlich | — |
context.contentanyOf 1 / anyOf 1 | objectIm Elternobjekt erforderlich |
|
context.content.nameanyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.content.audienceanyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.content.voiceanyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.content.languageanyOf 1 / anyOf 1 | string | nullIm Elternobjekt erforderlich | — |
context.content.languageanyOf 1 / anyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.content.languageanyOf 1 / anyOf 1 / anyOf 2 | nullIm Elternobjekt erforderlich | — |
context.content.preferred_termsanyOf 1 / anyOf 1 | arrayIm Elternobjekt erforderlich |
|
context.content.preferred_terms[]anyOf 1 / anyOf 1 | stringOptional / Element |
|
context.content.prohibited_termsanyOf 1 / anyOf 1 | arrayIm Elternobjekt erforderlich |
|
context.content.prohibited_terms[]anyOf 1 / anyOf 1 | stringOptional / Element |
|
context.content.locked_factsanyOf 1 / anyOf 1 | arrayIm Elternobjekt erforderlich |
|
context.content.locked_facts[]anyOf 1 / anyOf 1 | stringOptional / Element |
|
context.content.call_to_actionanyOf 1 / anyOf 1 | string | nullIm Elternobjekt erforderlich | — |
context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 1 | stringIm Elternobjekt erforderlich |
|
context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 2 | nullIm Elternobjekt erforderlich | — |
context.contentanyOf 1 / anyOf 2 | nullIm Elternobjekt erforderlich | — |
context.sourcesanyOf 1 | objectIm Elternobjekt erforderlich |
|
context.sources.websiteanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.sources.logoanyOf 1 | stringIm Elternobjekt erforderlich |
|
context.sources.own_postsanyOf 1 | objectIm Elternobjekt erforderlich |
|
context.sources.own_posts.selectedanyOf 1 | integerIm Elternobjekt erforderlich |
|
context.sources.own_posts.availableanyOf 1 | integerIm Elternobjekt erforderlich |
|
context.sources.own_posts.unavailableanyOf 1 | integerIm Elternobjekt erforderlich |
|
context.sources.own_posts.erasedanyOf 1 | integerIm Elternobjekt erforderlich |
|
contextanyOf 2 | nullIm Elternobjekt erforderlich | — |
Vollständiges 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
}Beispiel eines Tool-Aufrufs
Diese Beispiele nutzen anhand der Schemas geprüfte fiktive Werte. Ersetze IDs durch autorisierte IDs, Medien durch bereite Assets und Daten durch bestätigte Veröffentlichungszeiten. Prüfe Kontoeignung vor Schreibvorgängen. Diese Seite sendet keine API-Anfragen.
{
"name": "sosoapi_get_workspace_brand_context",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}structuredContent
{
"context": null
}