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

MCP-Tool

Asset-Speicherinventar abrufen

sosoapi_get_asset_storage_inventory

Lies ein paginiertes Inventar registrierter Assets und gespeicherter Objekte eines Workspace zur Speicherprüfung.

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": true,
  "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—
workspace_idstringIm Elternobjekt erforderlich
  • format: "uuid"
asset_cursorintegerOptional / Element
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
object_continuation_tokenstringOptional / Element
  • minLength: 1
  • maxLength: 2048
continuation_tokenstringOptional / Element
  • minLength: 1
  • maxLength: 2048
limitintegerOptional / Element
  • minimum: 1
  • maximum: 200
Vollständiges 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"
  ]
}

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
assetsarrayIm Elternobjekt erforderlich—
assets[]objectOptional / Element
  • additionalProperties: false
assets[].idinteger | stringIm Elternobjekt erforderlich—
assets[].idanyOf 1integerIm Elternobjekt erforderlich
  • minimum: -9007199254740991
  • maximum: 9007199254740991
assets[].idanyOf 2stringIm Elternobjekt erforderlich—
assets[].object_keystring | nullIm Elternobjekt erforderlich—
assets[].object_keyanyOf 1stringIm Elternobjekt erforderlich—
assets[].object_keyanyOf 2nullIm Elternobjekt erforderlich—
assets[].classificationstringIm Elternobjekt erforderlich
  • enum: ["safe","warning_history","blocked_active"]
objectsarrayIm Elternobjekt erforderlich—
objects[]objectOptional / Element
  • additionalProperties: false
objects[].keystringIm Elternobjekt erforderlich
  • minLength: 1
objects[].sizeintegerIm Elternobjekt erforderlich
  • minimum: 0
  • maximum: 9007199254740991
objects[].lastModifiedstringIm Elternobjekt erforderlich—
next_asset_cursorinteger | nullIm Elternobjekt erforderlich—
next_asset_cursoranyOf 1integerIm Elternobjekt erforderlich
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
next_asset_cursoranyOf 2nullIm Elternobjekt erforderlich—
next_object_continuation_tokenstring | nullIm Elternobjekt erforderlich—
next_object_continuation_tokenanyOf 1stringIm Elternobjekt erforderlich—
next_object_continuation_tokenanyOf 2nullIm Elternobjekt erforderlich—
continuation_tokenstring | nullIm Elternobjekt erforderlich—
continuation_tokenanyOf 1stringIm Elternobjekt erforderlich—
continuation_tokenanyOf 2nullIm Elternobjekt erforderlich—
Vollständiges 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
}

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_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
}
MCP installieren oder verbinden