All tools
ToolDestructive

Archive library folder

archive_library_folder

Use when a folder subtree should be removed from active Project views but remain restorable.

When to use it

Use when a folder subtree should be removed from active Project views but remain restorable.

Typical workflow

Find candidate library objects before reading full evidence.

What it returns

Metadata lists, ids, snippets, activity, and discovery hints.

Avoid using it when

Do not use for irreversible cleanup; use delete_library_folder only with explicit confirmation.

Advanced input contract

Agent hosts use this JSON Schema to validate the exact input shape.

View full registry notes

Archive a private Prism Project folder and its subfolders. This is reversible in Prism, clears favorites, and removes the subtree from active Project and MCP views. Use when: Use when a folder subtree should be removed from active Project views but remain restorable. Avoid when: Do not use for irreversible cleanup; use delete_library_folder only with explicit confirmation.

View JSON Schema
{
  "type": "object",
  "properties": {
    "folderId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedUpdatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expectedSubtree": {
      "type": "array",
      "minItems": 1,
      "description": "Exact folder revision snapshot returned by this tool's preview commitBinding.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "updatedAt"
        ],
        "additionalProperties": false
      }
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Required for direct preview/commit calls. Reuse only for an exact retry."
    },
    "operationId": {
      "type": "string",
      "format": "uuid"
    },
    "commitToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "commit"
      ],
      "default": "preview"
    }
  },
  "required": [
    "folderId",
    "expectedUpdatedAt"
  ],
  "additionalProperties": false
}

Useful next tools