# onf_delete_library_folder

Delete an empty folder with expectedRevision. Move assets and subfolders first.

Canonical URL: https://opennodeflow.dev/wiki/tool-onf-delete-library-folder/
JSON reference: https://opennodeflow.dev/wiki/tool-onf-delete-library-folder/index.json
Source snapshot: 2026-10-23

Delete an empty folder with expectedRevision. Move assets and subfolders first.

[Agent workflow authoring](/wiki/mcp-workflow-authoring/) · [All MCP tools](/wiki/mcp-tools/)

## Inputs

| Field | Required | Contract |
| --- | --- | --- |
| `folderId` | Yes | string |
| `expectedRevision` | Yes | integer |

## Exact input schema


```json
{
  "type": "object",
  "properties": {
    "folderId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[A-Za-z0-9_.-]+$"
    },
    "expectedRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "folderId",
    "expectedRevision"
  ]
}
```


## MCP annotations

- `readOnlyHint`: `false`
- `destructiveHint`: `true`
- `idempotentHint`: `false`
- `openWorldHint`: `false`

Annotations describe tool behavior; they are not an authorization boundary.

## Calling this tool

Use the exact registered name `onf_delete_library_folder` through a compatible MCP client. Start with discovery and read the current object before a change. Pass the documented revision or version guards where required. A JSON Schema default is not a substitute for reading the tool contract.

See [connection setup](/wiki/mcp-connect/) and [agent safety](/wiki/agent-safety/) for transport, permissions and uncertain-action recovery.

---

## Documentation provenance

- `server/platform-tools.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
