MCP-Tool
Kommerziellen Zugriff abrufen
sosoapi_get_commercial_accessLies Tarif- und Kontingentfakten zum Abrechnungskonto eines Workspace sowie commercial_access_mode (off, shadow oder enforce).
Als Markdown lesenProfile und Transporte
Profile: 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": false
}- /identity-api/commercial-access/status: agent:operate · synchronous_http_response
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 |
|
Vollständiges JSON Schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"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 |
|
billing_account_id | stringIm Elternobjekt erforderlich |
|
plan_key | stringIm Elternobjekt erforderlich |
|
plan_version | integerIm Elternobjekt erforderlich |
|
payment_state | stringIm Elternobjekt erforderlich |
|
entitlement_source | stringIm Elternobjekt erforderlich |
|
has_stripe_customer | booleanIm Elternobjekt erforderlich | — |
cycle | objectIm Elternobjekt erforderlich |
|
cycle.period_start | stringIm Elternobjekt erforderlich |
|
cycle.period_end | stringIm Elternobjekt erforderlich |
|
cycle.reset_at | stringIm Elternobjekt erforderlich |
|
quota | objectIm Elternobjekt erforderlich |
|
quota.successful_destination_publishes | objectIm Elternobjekt erforderlich |
|
quota.successful_destination_publishes.limit | integerIm Elternobjekt erforderlich |
|
quota.successful_destination_publishes.reserved | integerIm Elternobjekt erforderlich |
|
quota.successful_destination_publishes.consumed | integerIm Elternobjekt erforderlich |
|
quota.successful_destination_publishes.remaining | integerIm Elternobjekt erforderlich |
|
quota.pending_scheduled_posts | objectIm Elternobjekt erforderlich |
|
quota.pending_scheduled_posts.limit | integerIm Elternobjekt erforderlich |
|
quota.pending_scheduled_posts.active | integerIm Elternobjekt erforderlich |
|
quota.pending_scheduled_posts.remaining | integerIm Elternobjekt erforderlich |
|
quota.connected_social_accounts | objectIm Elternobjekt erforderlich |
|
quota.connected_social_accounts.limit | integerIm Elternobjekt erforderlich |
|
quota.connected_social_accounts.active | integerIm Elternobjekt erforderlich |
|
quota.connected_social_accounts.remaining | integerIm Elternobjekt erforderlich |
|
history_days | integerIm Elternobjekt erforderlich |
|
capabilities | objectIm Elternobjekt erforderlich |
|
capabilities.* | any JSON valueOptional / Element | — |
actor_user_id | stringIm Elternobjekt erforderlich |
|
workspace_id | stringIm Elternobjekt erforderlich |
|
billing_account_kind | stringIm Elternobjekt erforderlich |
|
commercial_access_mode | stringIm Elternobjekt erforderlich |
|
Vollständiges JSON Schema
{
"type": "object",
"properties": {
"billing_account_id": {
"type": "string",
"format": "uuid"
},
"plan_key": {
"type": "string",
"enum": [
"free",
"founding_pro"
]
},
"plan_version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"payment_state": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"entitlement_source": {
"type": "string",
"enum": [
"default",
"stripe",
"internal_test",
"reconciliation",
"manual"
]
},
"has_stripe_customer": {
"type": "boolean"
},
"cycle": {
"type": "object",
"properties": {
"period_start": {
"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)))$"
},
"period_end": {
"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)))$"
},
"reset_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": [
"period_start",
"period_end",
"reset_at"
],
"additionalProperties": false
},
"quota": {
"type": "object",
"properties": {
"successful_destination_publishes": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"reserved": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"consumed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"limit",
"reserved",
"consumed",
"remaining"
],
"additionalProperties": false
},
"pending_scheduled_posts": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"limit",
"active",
"remaining"
],
"additionalProperties": false
},
"connected_social_accounts": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"active": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"limit",
"active",
"remaining"
],
"additionalProperties": false
}
},
"required": [
"successful_destination_publishes",
"pending_scheduled_posts",
"connected_social_accounts"
],
"additionalProperties": false
},
"history_days": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"capabilities": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"actor_user_id": {
"type": "string",
"format": "uuid"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"billing_account_kind": {
"type": "string",
"const": "personal"
},
"commercial_access_mode": {
"type": "string",
"enum": [
"off",
"shadow",
"enforce"
]
}
},
"required": [
"billing_account_id",
"plan_key",
"plan_version",
"payment_state",
"entitlement_source",
"has_stripe_customer",
"cycle",
"quota",
"history_days",
"capabilities",
"actor_user_id",
"workspace_id",
"billing_account_kind",
"commercial_access_mode"
],
"$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_commercial_access",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}structuredContent
{
"billing_account_id": "11111111-1111-4111-8111-111111111111",
"plan_key": "free",
"plan_version": 1,
"payment_state": "example",
"entitlement_source": "default",
"has_stripe_customer": false,
"cycle": {
"period_start": "2099-01-15T09:00:00Z",
"period_end": "2099-01-15T09:00:00Z",
"reset_at": "2099-01-15T09:00:00Z"
},
"quota": {
"successful_destination_publishes": {
"limit": 0,
"reserved": 0,
"consumed": 0,
"remaining": 0
},
"pending_scheduled_posts": {
"limit": 0,
"active": 0,
"remaining": 0
},
"connected_social_accounts": {
"limit": 0,
"active": 0,
"remaining": 0
}
},
"history_days": 1,
"capabilities": {},
"actor_user_id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "11111111-1111-4111-8111-111111111111",
"billing_account_kind": "personal",
"commercial_access_mode": "off"
}