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

MCP tool

Get asset storage inventory

sosoapi_get_asset_storage_inventory

Read a paged inventory of a Workspace's registered assets and stored objects to audit storage.

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—
workspace_idstringRequired in parent
  • format: "uuid"
asset_cursorintegerOptional / item
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
object_continuation_tokenstringOptional / item
  • minLength: 1
  • maxLength: 2048
continuation_tokenstringOptional / item
  • minLength: 1
  • maxLength: 2048
limitintegerOptional / item
  • minimum: 1
  • maximum: 200
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "asset_cursor": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "object_continuation_token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "continuation_token": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [
    "workspace_id"
  ]
}

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
assetsarrayRequired in parent—
assets[]objectOptional / item
  • additionalProperties: false
assets[].idinteger | stringRequired in parent—
assets[].idanyOf 1integerRequired in parent
  • minimum: -9007199254740991
  • maximum: 9007199254740991
assets[].idanyOf 2stringRequired in parent—
assets[].object_keystring | nullRequired in parent—
assets[].object_keyanyOf 1stringRequired in parent—
assets[].object_keyanyOf 2nullRequired in parent—
assets[].classificationstringRequired in parent
  • enum: ["safe","warning_history","blocked_active"]
objectsarrayRequired in parent—
objects[]objectOptional / item
  • additionalProperties: false
objects[].keystringRequired in parent
  • minLength: 1
objects[].sizeintegerRequired in parent
  • minimum: 0
  • maximum: 9007199254740991
objects[].lastModifiedstringRequired in parent—
next_asset_cursorinteger | nullRequired in parent—
next_asset_cursoranyOf 1integerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
next_asset_cursoranyOf 2nullRequired in parent—
next_object_continuation_tokenstring | nullRequired in parent—
next_object_continuation_tokenanyOf 1stringRequired in parent—
next_object_continuation_tokenanyOf 2nullRequired in parent—
continuation_tokenstring | nullRequired in parent—
continuation_tokenanyOf 1stringRequired in parent—
continuation_tokenanyOf 2nullRequired in parent—
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "assets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "string"
              }
            ]
          },
          "object_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "classification": {
            "type": "string",
            "enum": [
              "safe",
              "warning_history",
              "blocked_active"
            ]
          }
        },
        "required": [
          "id",
          "object_key",
          "classification"
        ],
        "additionalProperties": false
      }
    },
    "objects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1
          },
          "size": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "lastModified": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "size",
          "lastModified"
        ],
        "additionalProperties": false
      }
    },
    "next_asset_cursor": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "next_object_continuation_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "continuation_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "assets",
    "objects",
    "next_asset_cursor",
    "next_object_continuation_token",
    "continuation_token"
  ],
  "$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_asset_storage_inventory",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111"
  }
}

structuredContent

{
  "assets": [],
  "objects": [],
  "next_asset_cursor": null,
  "next_object_continuation_token": null,
  "continuation_token": null
}
Install or connect MCP