A busca carrega apenas quando você a usa. Explore todas as categorias abaixo.

Ferramenta MCP

Atualizar perfil do usuário

sosoapi_update_user_profile

Altere o próprio perfil do usuário conectado (display_name, timezone, avatar_url, theme). Envie apenas os campos a alterar.

Ler como Markdown

Perfis e transportes

Perfis: full · Transportes: stdio, http

Escolha core ou full para controlar quais ferramentas seu cliente vê; isso não altera suas permissões. O envio de arquivos locais exige stdio e não está disponível por HTTP. Defina SOSOAPI_OUTPUT_SCHEMAS=1 para incluir schemas de saída na descoberta. As ferramentas retornam resultados estruturados com ou sem essa configuração.

Permissões e efeitos colaterais

As anotações ajudam os clientes a descrever uma ferramenta. Cada chamada ainda verifica autenticação, função, acesso a recursos e concessões de capacidades do usuário.

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

Campos de entrada

Obrigatório significa obrigatório dentro do objeto pai e da ramificação selecionada. Um filho obrigatório não torna obrigatório um pai opcional. As regras e nomes de campos abaixo são copiados do contrato.

Campos de entrada
Campo / ramificaçãoTipo / obrigatórioRestrições
$objectObrigatório no objeto pai
  • additionalProperties: false
display_namestringOpcional / item
  • minLength: 0
  • maxLength: 120
timezonestringOpcional / item
  • minLength: 1
  • maxLength: 64
avatar_urlstringOpcional / item
  • minLength: 0
  • maxLength: 2048
themestringOpcional / item
  • enum: ["light","dark","system"]
expected_versionintegerOpcional / item

Opcional. A versão consultada. Se tiver sido alterada desde então, a atualização falha com 409 VERSION_CONFLICT em vez de sobrescrever.

  • maximum: 2147483647
  • exclusiveMinimum: 0
include_versionbooleanOpcional / item

Opcional. true adiciona a versão do recurso à resposta.

—
JSON Schema completo
{
  "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
}

Saída estruturada

Este schema descreve structuredContent em um resultado de ferramenta bem-sucedido. A resposta MCP também inclui content e pode definir isError quando uma chamada falha. Para publicações, consulte o resultado final do post em vez de tratar uma requisição aceita ou resposta de texto como confirmação. A operação de API vinculada explica as permissões e regras de repetição.

Obrigatório significa obrigatório dentro do objeto pai e da ramificação selecionada. Um filho obrigatório não torna obrigatório um pai opcional. As regras e nomes de campos abaixo são copiados do contrato.

Saída estruturada
Campo / ramificaçãoTipo / obrigatórioRestrições
$objectObrigatório no objeto pai
  • additionalProperties: false
actionstringObrigatório no objeto pai
  • const: "update"
profileobjectObrigatório no objeto pai
  • additionalProperties: false
profile.user_idstringObrigatório no objeto pai
  • format: "uuid"
profile.display_namestring | nullObrigatório no objeto pai—
profile.display_nameanyOf 1stringObrigatório no objeto pai—
profile.display_nameanyOf 2nullObrigatório no objeto pai—
profile.timezonestring | nullObrigatório no objeto pai—
profile.timezoneanyOf 1stringObrigatório no objeto pai—
profile.timezoneanyOf 2nullObrigatório no objeto pai—
profile.avatar_urlstring | nullObrigatório no objeto pai—
profile.avatar_urlanyOf 1stringObrigatório no objeto pai—
profile.avatar_urlanyOf 2nullObrigatório no objeto pai—
profile.avatar_preview_urlstring | nullOpcional / item—
profile.avatar_preview_urlanyOf 1stringOpcional / item
  • format: "uri"
profile.avatar_preview_urlanyOf 2nullOpcional / item—
profile.avatar_preview_expires_atstring | nullOpcional / item—
profile.avatar_preview_expires_atanyOf 1stringOpcional / item
  • 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 2nullOpcional / item—
profile.themestring | nullObrigatório no objeto pai—
profile.themeanyOf 1stringObrigatório no objeto pai
  • enum: ["light","dark","system"]
profile.themeanyOf 2nullObrigatório no objeto pai—
profile.created_atstring | nullObrigatório no objeto pai—
profile.created_atanyOf 1stringObrigatório no objeto pai—
profile.created_atanyOf 2nullObrigatório no objeto pai—
profile.updated_atstring | nullObrigatório no objeto pai—
profile.updated_atanyOf 1stringObrigatório no objeto pai—
profile.updated_atanyOf 2nullObrigatório no objeto pai—
profile.deletion_scheduled_atstring | nullObrigatório no objeto pai—
profile.deletion_scheduled_atanyOf 1stringObrigatório no objeto pai—
profile.deletion_scheduled_atanyOf 2nullObrigatório no objeto pai—
profile.hard_delete_atstring | nullObrigatório no objeto pai—
profile.hard_delete_atanyOf 1stringObrigatório no objeto pai—
profile.hard_delete_atanyOf 2nullObrigatório no objeto pai—
profile.versionintegerOpcional / item
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
JSON Schema completo
{
  "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
}

Exemplo de chamada de ferramenta

Estes exemplos usam valores fictícios verificados conforme os schemas. Substitua os IDs por aqueles que você tem autorização para usar, a mídia por ativos prontos e as datas pelo horário de publicação confirmado. Confira a elegibilidade da conta antes de enviar uma gravação. Esta página não envia requisições de API.

{
  "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
  }
}
Instale ou conecte MCP