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

MCP tool

Unlink project asset

sosoapi_unlink_project_asset

Remove an asset's link to a project; the asset itself is kept. idempotency_key required.

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": false,
  "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
project_idstringRequired in parent
  • format: "uuid"
asset_idintegerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
idempotency_keystringRequired in parent
  • minLength: 8
  • maxLength: 160
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "asset_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 160
    }
  },
  "required": [
    "project_id",
    "asset_id",
    "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
contract_versionstringRequired in parent
  • const: "project/v1"
linkobject | nullRequired in parent—
linkanyOf 1objectRequired in parent
  • additionalProperties: false
link.workspace_idanyOf 1stringRequired in parent
  • format: "uuid"
link.project_idanyOf 1stringRequired in parent
  • format: "uuid"
link.asset_idanyOf 1integerRequired in parent
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
link.relationshipanyOf 1stringRequired in parent
  • enum: ["identity","source","reference"]
link.sourceanyOf 1stringRequired in parent
  • enum: ["user","api_key","delegated_ai","migration","scheduled_post","project_default"]
link.created_byanyOf 1string | nullRequired in parent—
link.created_byanyOf 1 / anyOf 1stringRequired in parent
  • format: "uuid"
link.created_byanyOf 1 / anyOf 2nullRequired in parent—
link.created_atanyOf 1stringRequired in parent
  • 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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
linkanyOf 2nullRequired in parent—
receipt_idstringRequired in parent
  • format: "uuid"
appliedbooleanRequired in parent—
dedupedbooleanRequired in parent—
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "contract_version": {
      "type": "string",
      "const": "project/v1"
    },
    "link": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "workspace_id": {
              "type": "string",
              "format": "uuid"
            },
            "project_id": {
              "type": "string",
              "format": "uuid"
            },
            "asset_id": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "relationship": {
              "type": "string",
              "enum": [
                "identity",
                "source",
                "reference"
              ]
            },
            "source": {
              "type": "string",
              "enum": [
                "user",
                "api_key",
                "delegated_ai",
                "migration",
                "scheduled_post",
                "project_default"
              ]
            },
            "created_by": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "created_at": {
              "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
            }
          },
          "required": [
            "workspace_id",
            "project_id",
            "asset_id",
            "relationship",
            "source",
            "created_by",
            "created_at"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "receipt_id": {
      "type": "string",
      "format": "uuid"
    },
    "applied": {
      "type": "boolean"
    },
    "deduped": {
      "type": "boolean"
    }
  },
  "required": [
    "contract_version",
    "link",
    "receipt_id",
    "applied",
    "deduped"
  ],
  "$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_unlink_project_asset",
  "arguments": {
    "project_id": "11111111-1111-4111-8111-111111111111",
    "asset_id": 1,
    "idempotency_key": "example-intent-0001"
  }
}

structuredContent

{
  "contract_version": "project/v1",
  "link": null,
  "receipt_id": "11111111-1111-4111-8111-111111111111",
  "applied": false,
  "deduped": false
}
Install or connect MCP