muse_auto_tag
Automatically suggests and applies tags to sessions by analyzing content and code blocks. Supports actions: suggest, apply, train, and config for custom tagging behavior.
Instructions
Automatically suggests and applies tags to sessions. Actions: suggest (recommend tags), apply (add tags to session), train (learn from examples), config (configure tagging behavior).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| sessionId | No | Session ID to analyze or update (for suggest/apply) | |
| content | No | Text content to analyze for tags | |
| codeBlocks | No | Code blocks to analyze | |
| maxTags | No | Maximum number of tags to suggest (default: 5) | |
| minConfidence | No | Minimum confidence threshold 0-1 (default: 0.7) | |
| includeExisting | No | Include existing tags when applying (default: true) | |
| categories | No | Filter suggestions by category | |
| examples | No | Training examples for train action | |
| enableAutoTag | No | Enable/disable auto-tagging (for config) | |
| defaultCategories | No | Default categories to use (for config) | |
| customPatterns | No | Custom patterns for tag detection (for config) | |
| useAI | No | Use AI for tag suggestions (default: false) |