delete_asset
Remove assets from the system, individually or in batch. Prevents deletion if the asset is used in any flows.
Instructions
Delete an asset from the system. Supports batch operations via the 'ids' parameter.
This tool deletes one or more assets from the system. Assets cannot be deleted if used in any flows. For single item: provide the id directly. For batch: provide a list of IDs in the 'ids' parameter.
Args: ctx: MCP context for logging and error handling id: ID of the asset to delete (required for single item mode) ids: Optional list of asset IDs for batch deletion
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |