auto_tag_document
Automatically generate tags for a document by analyzing its content with AI, suggesting relevant tags across categories like hardware, programming, document type, and difficulty level.
Instructions
Automatically generate tags for a document using AI analysis. Analyzes document content and suggests relevant tags across categories: hardware (sid, vic-ii), programming (assembly, basic), document type (tutorial, reference), and difficulty level (beginner, advanced). Requires LLM configuration (set LLM_PROVIDER and API key).
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": {
"doc_id": "<doc_id>"
},
"name": "auto_tag_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID to tag | |
| confidence_threshold | No | Minimum confidence to accept tag (0.0-1.0, default: 0.7) | |
| max_tags | No | Maximum number of tags to suggest (default: 10) | |
| append | No | If true, append to existing tags; if false, replace (default: true) |