Category Collection Change
category_collection_changeReplace entire property values for an existing category or collection—name, description, directory, patterns, or categories—when you need to change definitions, not incrementally update them.
Instructions
Change properties of an existing category or collection.
Replaces entire property values (name, description, directory, patterns, or categories). For incremental updates (adding/removing patterns or categories), use category_collection_update instead.
Arguments
session_id: string | null
Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.
type (required): enum: 'category', 'collection'
Type of item to modify
name (required): string
Name to modify
new_name: string | null
New name
new_description: string | null
New description
new_dir: string | null
New directory path (category only)
new_patterns: array[string] | null
New file patterns (category only)
new_categories: array[string] | null
New category list (collection only)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>"
},
"name": "category_collection_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for category_collection_change tool. |