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

MCP tool

Import asset URL

sosoapi_import_asset_url

Ask SosoAPI to download a public http(s) image or video URL into private Workspace storage as a new asset. Returns an import_id; poll sosoapi_get_asset_import_status. Needs an idempotency_key and the editor role.

Read as Markdown

Profiles and transports

Profiles: core, 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": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}

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
workspace_idstringRequired in parent
  • format: "uuid"
source_urlstringRequired in parent
  • format: "uri"
  • maxLength: 2048
idempotency_keystringRequired in parent
  • minLength: 1
  • maxLength: 128
expected_kindstringOptional / item
  • enum: ["image","video"]
titlestringOptional / item
  • maxLength: 200
descriptionstringOptional / item
  • maxLength: 2000
tagsarrayOptional / item
  • maxItems: 50
tags[]stringOptional / item
  • maxLength: 64
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "source_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "expected_kind": {
      "type": "string",
      "enum": [
        "image",
        "video"
      ]
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "tags": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64
      }
    }
  },
  "required": [
    "workspace_id",
    "source_url",
    "idempotency_key"
  ],
  "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
import_idstringRequired in parent
  • format: "uuid"
job_idstringRequired in parent
  • format: "uuid"
statusstringRequired in parent
  • enum: ["queued","importing","needs_repair","ready","asset_purged","failed"]
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "import_id": {
      "type": "string",
      "format": "uuid"
    },
    "job_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "importing",
        "needs_repair",
        "ready",
        "asset_purged",
        "failed"
      ]
    }
  },
  "required": [
    "import_id",
    "job_id",
    "status"
  ],
  "$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_import_asset_url",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "source_url": "https://example.com/media.png",
    "idempotency_key": "example-intent-0001"
  }
}

structuredContent

{
  "import_id": "11111111-1111-4111-8111-111111111111",
  "job_id": "11111111-1111-4111-8111-111111111111",
  "status": "queued"
}
Install or connect MCP