{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-create-library-pack",
  "title": "onf_create_library_pack",
  "section": "MCP tool reference",
  "description": "Create a shared custom library pack. Assign assets with onf organize definition and install in selected workspaces separately.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-create-library-pack/",
  "markdown": "/wiki/tool-onf-create-library-pack/index.md",
  "json": "/wiki/tool-onf-create-library-pack/index.json",
  "headings": [
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "exact-input-schema",
      "title": "Exact input schema",
      "depth": 2
    },
    {
      "id": "mcp-annotations",
      "title": "MCP annotations",
      "depth": 2
    },
    {
      "id": "calling-this-tool",
      "title": "Calling this tool",
      "depth": 2
    }
  ],
  "sources": [
    "server/library-pack-tools.ts"
  ],
  "contract": {
    "name": "onf_create_library_pack",
    "description": "Create a shared custom library pack. Assign assets with onf_organize_definition and install in selected workspaces separately.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,120}$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "description": {
          "default": "",
          "type": "string",
          "maxLength": 4000
        },
        "color": {
          "default": "#58afa6",
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "icon": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        }
      },
      "required": [
        "name"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": false
    },
    "source": {
      "file": "server/library-pack-tools.ts",
      "line": 80
    }
  }
}
