category_collection_add
Add a new category with directory and file patterns or a collection grouping multiple categories to the current project.
Instructions
Add a new category or collection to the current project.
Creates a category with directory and file patterns, or a collection grouping multiple categories. Category-specific fields (dir, patterns) and collection-specific fields (categories) are validated based on the type parameter.
Arguments
type (required): enum: 'category', 'collection'
Type of item to add
name (required): string
Name to create
description: any
Optional description
dir: any
Directory path (category only)
patterns: any
File patterns (category only)
categories: any
Category expressions (collection only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for category_collection_add tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |