Search loads only when you use it. Browse all categories below.

MCP tool

Get user profile

sosoapi_get_user_profile

Read the signed-in user's own profile (display name, timezone, avatar, theme); profile is null until one exists.

Read as Markdown

Profiles and transports

Profiles: full · Transports: stdio, http

Choose core or full to control which tools your client sees; this does not change its permissions. Local file upload requires stdio and is unavailable over HTTP. Set SOSOAPI_OUTPUT_SCHEMAS=1 to include output schemas in discovery. Tools return structured results with or without that setting.

Permissions and side effects

Annotations help clients describe a tool. Each call still checks the user’s authentication, role, resource access and capability grants.

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

Input fields

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Input fields
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
include_versionbooleanOptional / item

Optional. true adds the resource version to the answer.

—
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "include_version": {
      "description": "Optional. true adds the resource version to the answer.",
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Structured output

This schema describes structuredContent in a successful tool result. The MCP response also includes content and may set isError when a call fails. For publishing, read the post’s final result rather than treating an accepted request or text response as confirmation. The linked API operation explains permissions and retry rules.

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Structured output
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
actionstringRequired in parent
  • const: "get"
profileobject | nullRequired in parent—
profileanyOf 1objectRequired in parent
  • additionalProperties: false
profile.user_idanyOf 1stringRequired in parent
  • format: "uuid"
profile.display_nameanyOf 1string | nullRequired in parent—
profile.display_nameanyOf 1 / anyOf 1stringRequired in parent—
profile.display_nameanyOf 1 / anyOf 2nullRequired in parent—
profile.timezoneanyOf 1string | nullRequired in parent—
profile.timezoneanyOf 1 / anyOf 1stringRequired in parent—
profile.timezoneanyOf 1 / anyOf 2nullRequired in parent—
profile.avatar_urlanyOf 1string | nullRequired in parent—
profile.avatar_urlanyOf 1 / anyOf 1stringRequired in parent—
profile.avatar_urlanyOf 1 / anyOf 2nullRequired in parent—
profile.avatar_preview_urlanyOf 1string | nullOptional / item—
profile.avatar_preview_urlanyOf 1 / anyOf 1stringOptional / item
  • format: "uri"
profile.avatar_preview_urlanyOf 1 / anyOf 2nullOptional / item—
profile.avatar_preview_expires_atanyOf 1string | nullOptional / item—
profile.avatar_preview_expires_atanyOf 1 / anyOf 1stringOptional / 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 2nullOptional / item—
profile.themeanyOf 1string | nullRequired in parent—
profile.themeanyOf 1 / anyOf 1stringRequired in parent
  • enum: ["light","dark","system"]
profile.themeanyOf 1 / anyOf 2nullRequired in parent—
profile.created_atanyOf 1string | nullRequired in parent—
profile.created_atanyOf 1 / anyOf 1stringRequired in parent—
profile.created_atanyOf 1 / anyOf 2nullRequired in parent—
profile.updated_atanyOf 1string | nullRequired in parent—
profile.updated_atanyOf 1 / anyOf 1stringRequired in parent—
profile.updated_atanyOf 1 / anyOf 2nullRequired in parent—
profile.deletion_scheduled_atanyOf 1string | nullRequired in parent—
profile.deletion_scheduled_atanyOf 1 / anyOf 1stringRequired in parent—
profile.deletion_scheduled_atanyOf 1 / anyOf 2nullRequired in parent—
profile.hard_delete_atanyOf 1string | nullRequired in parent—
profile.hard_delete_atanyOf 1 / anyOf 1stringRequired in parent—
profile.hard_delete_atanyOf 1 / anyOf 2nullRequired in parent—
profile.versionanyOf 1integerOptional / item
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
profileanyOf 2nullRequired in parent—
Complete 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
}

Example tool call

These examples use fictional values checked against the schemas. Replace the IDs with ones you are authorized to use, the media with ready assets and the dates with your confirmed publishing time. Check the account’s eligibility before submitting a write. This page sends no API requests.

{
  "name": "sosoapi_get_user_profile",
  "arguments": {}
}

structuredContent

{
  "action": "get",
  "profile": null
}
Install or connect MCP