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

Ferramenta MCP

Obter perfil do usuário

sosoapi_get_user_profile

Consulte o próprio perfil do usuário conectado (nome de exibição, fuso, avatar, tema); profile é null até existir.

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": true,
  "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
include_versionbooleanOpcional / item

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

—
JSON Schema completo
{
  "type": "object",
  "properties": {
    "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: "get"
profileobject | nullObrigatório no objeto pai—
profileanyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
profile.user_idanyOf 1stringObrigatório no objeto pai
  • format: "uuid"
profile.display_nameanyOf 1string | nullObrigatório no objeto pai—
profile.display_nameanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.display_nameanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.timezoneanyOf 1string | nullObrigatório no objeto pai—
profile.timezoneanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.timezoneanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.avatar_urlanyOf 1string | nullObrigatório no objeto pai—
profile.avatar_urlanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.avatar_urlanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.avatar_preview_urlanyOf 1string | nullOpcional / item—
profile.avatar_preview_urlanyOf 1 / anyOf 1stringOpcional / item
  • format: "uri"
profile.avatar_preview_urlanyOf 1 / anyOf 2nullOpcional / item—
profile.avatar_preview_expires_atanyOf 1string | nullOpcional / item—
profile.avatar_preview_expires_atanyOf 1 / anyOf 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 1 / anyOf 2nullOpcional / item—
profile.themeanyOf 1string | nullObrigatório no objeto pai—
profile.themeanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["light","dark","system"]
profile.themeanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.created_atanyOf 1string | nullObrigatório no objeto pai—
profile.created_atanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.created_atanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.updated_atanyOf 1string | nullObrigatório no objeto pai—
profile.updated_atanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.updated_atanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.deletion_scheduled_atanyOf 1string | nullObrigatório no objeto pai—
profile.deletion_scheduled_atanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.deletion_scheduled_atanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.hard_delete_atanyOf 1string | nullObrigatório no objeto pai—
profile.hard_delete_atanyOf 1 / anyOf 1stringObrigatório no objeto pai—
profile.hard_delete_atanyOf 1 / anyOf 2nullObrigatório no objeto pai—
profile.versionanyOf 1integerOpcional / item
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
profileanyOf 2nullObrigatório no objeto pai—
JSON Schema completo
{
  "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
}

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_get_user_profile",
  "arguments": {}
}

structuredContent

{
  "action": "get",
  "profile": null
}
Instale ou conecte MCP