knowledge_autotag_suggest
Suggest relevant project tags for new content using TF-IDF analysis against the existing tag pool, returning ranked options with matched tokens. Avoids new tag creation to maintain consistency.
Instructions
Suggest project tags for a piece of content using TF-IDF against the existing project tag pool. Never invents new tags — only existing ones are suggested, to avoid tag-wildwuchs.
Use when you are writing a new doc-page / ADR / flow summary and want to tag it consistently with the rest of the project. Returns suggestions ranked by confidence with matchedTokens for debuggability.
Pass existingTags so already-applied tags are excluded from suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID (defaults to linked project) | |
| content | Yes | Markdown / plain text to classify | |
| existingTags | No | Tags already set — excluded from suggestions | |
| limit | No | Max suggestions (default 5) |