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

MCP-Tool

Nutzerprofil aktualisieren

sosoapi_update_user_profile

Ändere das eigene Profil des angemeldeten Nutzers (display_name, timezone, avatar_url, theme). Sende nur zu ändernde Felder.

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": false,
  "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
display_namestringOptional / Element
  • minLength: 0
  • maxLength: 120
timezonestringOptional / Element
  • minLength: 1
  • maxLength: 64
avatar_urlstringOptional / Element
  • minLength: 0
  • maxLength: 2048
themestringOptional / Element
  • enum: ["light","dark","system"]
expected_versionintegerOptional / Element

Optional. Die gelesene Version. Hat sie sich inzwischen geändert, scheitert das Update mit 409 VERSION_CONFLICT, statt Daten zu überschreiben.

  • maximum: 2147483647
  • exclusiveMinimum: 0
include_versionbooleanOptional / Element

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

—
Vollständiges JSON Schema
{
  "type": "object",
  "properties": {
    "display_name": {
      "type": "string",
      "minLength": 0,
      "maxLength": 120
    },
    "timezone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "avatar_url": {
      "type": "string",
      "minLength": 0,
      "maxLength": 2048
    },
    "theme": {
      "type": "string",
      "enum": [
        "light",
        "dark",
        "system"
      ]
    },
    "expected_version": {
      "description": "Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 2147483647
    },
    "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: "update"
profileobjectIm Elternobjekt erforderlich
  • additionalProperties: false
profile.user_idstringIm Elternobjekt erforderlich
  • format: "uuid"
profile.display_namestring | nullIm Elternobjekt erforderlich—
profile.display_nameanyOf 1stringIm Elternobjekt erforderlich—
profile.display_nameanyOf 2nullIm Elternobjekt erforderlich—
profile.timezonestring | nullIm Elternobjekt erforderlich—
profile.timezoneanyOf 1stringIm Elternobjekt erforderlich—
profile.timezoneanyOf 2nullIm Elternobjekt erforderlich—
profile.avatar_urlstring | nullIm Elternobjekt erforderlich—
profile.avatar_urlanyOf 1stringIm Elternobjekt erforderlich—
profile.avatar_urlanyOf 2nullIm Elternobjekt erforderlich—
profile.avatar_preview_urlstring | nullOptional / Element—
profile.avatar_preview_urlanyOf 1stringOptional / Element
  • format: "uri"
profile.avatar_preview_urlanyOf 2nullOptional / Element—
profile.avatar_preview_expires_atstring | nullOptional / Element—
profile.avatar_preview_expires_atanyOf 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 2nullOptional / Element—
profile.themestring | nullIm Elternobjekt erforderlich—
profile.themeanyOf 1stringIm Elternobjekt erforderlich
  • enum: ["light","dark","system"]
profile.themeanyOf 2nullIm Elternobjekt erforderlich—
profile.created_atstring | nullIm Elternobjekt erforderlich—
profile.created_atanyOf 1stringIm Elternobjekt erforderlich—
profile.created_atanyOf 2nullIm Elternobjekt erforderlich—
profile.updated_atstring | nullIm Elternobjekt erforderlich—
profile.updated_atanyOf 1stringIm Elternobjekt erforderlich—
profile.updated_atanyOf 2nullIm Elternobjekt erforderlich—
profile.deletion_scheduled_atstring | nullIm Elternobjekt erforderlich—
profile.deletion_scheduled_atanyOf 1stringIm Elternobjekt erforderlich—
profile.deletion_scheduled_atanyOf 2nullIm Elternobjekt erforderlich—
profile.hard_delete_atstring | nullIm Elternobjekt erforderlich—
profile.hard_delete_atanyOf 1stringIm Elternobjekt erforderlich—
profile.hard_delete_atanyOf 2nullIm Elternobjekt erforderlich—
profile.versionintegerOptional / Element
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
Vollständiges JSON Schema
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "const": "update"
    },
    "profile": {
      "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
    }
  },
  "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_update_user_profile",
  "arguments": {}
}

structuredContent

{
  "action": "update",
  "profile": {
    "user_id": "11111111-1111-4111-8111-111111111111",
    "display_name": null,
    "timezone": null,
    "avatar_url": null,
    "theme": null,
    "created_at": null,
    "updated_at": null,
    "deletion_scheduled_at": null,
    "hard_delete_at": null
  }
}
MCP installieren oder verbinden