Die Suche lädt erst bei Nutzung. Durchsuche unten alle Kategorien.

MCP-Tool

Nutzerprofil abrufen

sosoapi_get_user_profile

Lies das eigene Profil des angemeldeten Nutzers (Anzeigename, Zeitzone, Avatar, Theme); profile ist null, bis eines existiert.

Als Markdown lesen

Profile 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
}

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.

Eingabefelder
Feld / VarianteTyp / erforderlichEinschränkungen
$objectIm Elternobjekt erforderlich
  • additionalProperties: false
include_versionbooleanOptional / Element

Optional. true ergänzt die Ressourcenversion in der Antwort.

—
Vollständiges JSON Schema
{
  "type": "object",
  "properties": {
    "include_version": {
      "description": "Optional. true adds the resource version to the answer.",
      "type": "boolean"
    }
  },
  "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.

Strukturierte Ausgabe
Feld / VarianteTyp / erforderlichEinschränkungen
$objectIm Elternobjekt erforderlich
  • additionalProperties: false
actionstringIm Elternobjekt erforderlich
  • const: "get"
profileobject | nullIm Elternobjekt erforderlich—
profileanyOf 1objectIm Elternobjekt erforderlich
  • additionalProperties: false
profile.user_idanyOf 1stringIm Elternobjekt erforderlich
  • format: "uuid"
profile.display_nameanyOf 1string | nullIm Elternobjekt erforderlich—
profile.display_nameanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.display_nameanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.timezoneanyOf 1string | nullIm Elternobjekt erforderlich—
profile.timezoneanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.timezoneanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.avatar_urlanyOf 1string | nullIm Elternobjekt erforderlich—
profile.avatar_urlanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.avatar_urlanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.avatar_preview_urlanyOf 1string | nullOptional / Element—
profile.avatar_preview_urlanyOf 1 / anyOf 1stringOptional / Element
  • format: "uri"
profile.avatar_preview_urlanyOf 1 / anyOf 2nullOptional / Element—
profile.avatar_preview_expires_atanyOf 1string | nullOptional / Element—
profile.avatar_preview_expires_atanyOf 1 / anyOf 1stringOptional / Element
  • 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))$"
profile.avatar_preview_expires_atanyOf 1 / anyOf 2nullOptional / Element—
profile.themeanyOf 1string | nullIm Elternobjekt erforderlich—
profile.themeanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich
  • enum: ["light","dark","system"]
profile.themeanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.created_atanyOf 1string | nullIm Elternobjekt erforderlich—
profile.created_atanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.created_atanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.updated_atanyOf 1string | nullIm Elternobjekt erforderlich—
profile.updated_atanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.updated_atanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.deletion_scheduled_atanyOf 1string | nullIm Elternobjekt erforderlich—
profile.deletion_scheduled_atanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.deletion_scheduled_atanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.hard_delete_atanyOf 1string | nullIm Elternobjekt erforderlich—
profile.hard_delete_atanyOf 1 / anyOf 1stringIm Elternobjekt erforderlich—
profile.hard_delete_atanyOf 1 / anyOf 2nullIm Elternobjekt erforderlich—
profile.versionanyOf 1integerOptional / Element
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
profileanyOf 2nullIm Elternobjekt erforderlich—
Vollständiges JSON Schema
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "const": "get"
    },
    "profile": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "user_id": {
              "type": "string",
              "format": "uuid"
            },
            "display_name": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "timezone": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "avatar_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "avatar_preview_url": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri"
                },
                {
                  "type": "null"
                }
              ]
            },
            "avatar_preview_expires_at": {
              "anyOf": [
                {
                  "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))$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "theme": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "light",
                    "dark",
                    "system"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "created_at": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "updated_at": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deletion_scheduled_at": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "hard_delete_at": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "version": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "user_id",
            "display_name",
            "timezone",
            "avatar_url",
            "theme",
            "created_at",
            "updated_at",
            "deletion_scheduled_at",
            "hard_delete_at"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "action",
    "profile"
  ],
  "$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_user_profile",
  "arguments": {}
}

structuredContent

{
  "action": "get",
  "profile": null
}
MCP installieren oder verbinden