Nurama Developers

remove_attachment

Remove a single asset attachment from a chat message.

Mutating tool: it changes data in Nurama. Available only when the key carries the matching scope.

Remove a single asset attachment from a chat message. The asset itself is NOT deleted — only its link to the message. Use to detach the wrong file after a misclick / wrong reference; for a full asset purge use delete_asset.

Input

PropertyTypeRequiredDescription
messageIdstringyesUUID of the message.
assetIdstringyesUUID of the asset to detach from the message.

JSON Schema

{
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "UUID of the message."
    },
    "assetId": {
      "type": "string",
      "description": "UUID of the asset to detach from the message."
    }
  },
  "required": [
    "messageId",
    "assetId"
  ],
  "additionalProperties": false
}

On this page