distillery_classify
Persist a previously determined classification to an entry, specifying type, confidence, and optional tags/project. Handles low-confidence results by flagging for review.
Instructions
Apply a pre-computed classification to an existing entry.
USE WHEN: you have determined an entry's type and confidence via LLM or heuristic analysis and want to persist the classification result.
PARAMS:
entry_id (str, required): UUID of the entry to classify.
entry_type (str, required): Assigned type. Valid: [session, bookmark, minutes, meeting, reference, idea, inbox, github, person, project, digest, feed]. Common intuitive aliases like
"note"are NOT accepted but the error response includes adetails.suggestionpointing to the canonical type (e.g."note"->"inbox").confidence (float, required): Classification confidence (0-1). Entries below the configured threshold (default 0.6) go to pending_review.
reasoning (str, optional): Explanation of the classification decision.
suggested_tags (list[str], optional): Tags to merge onto the entry.
suggested_project (str, optional): Project to assign if entry has none.
RETURNS (success): { id: str, entry_type: str, status: str, ... } (full updated entry) RETURNS (error): { error: true, code: "NOT_FOUND" | "INVALID_PARAMS" | "INTERNAL", message: "...", details?: { field, provided, allowed, suggestion? } }
RELATED: distillery_resolve_review (to act on pending_review entries), distillery_list (with output_mode="review" to see the review queue)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | ||
| reasoning | No | ||
| confidence | Yes | ||
| entry_type | Yes | ||
| suggested_tags | No | ||
| suggested_project | No |