Classify item facets
classify_facetsStore your agent's facet classifications and tags on a saved item. Use after analyzing its evidence; use query_by_facets to retrieve labeled items or classify_hook for provider-run hook classification.
Instructions
Store your agent's facet classifications and tags on a saved item. Use after analyzing its evidence; use query_by_facets to retrieve labeled items or classify_hook for provider-run hook classification. Validates supplied labels, replaces those facet values and adds deduplicated tags. Missing performance tier and length bucket can be derived from saved metadata. Returns applied facets and tag counts; no model call runs here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Free-form labels to attach to the saved item or draft. | |
| topic | No | Stored topic label used to classify or select examples. | |
| format | No | Content format label, such as tutorial or talking_head; see get_facet_taxonomy. | |
| video_id | Yes | Stable saved-item identifier from a search or capture result; not necessarily a YouTube ID. | |
| hook_type | No | Stored opening-hook classification to write or match; see get_facet_taxonomy for hook labels. | |
| length_bucket | No | Duration bucket: short, medium, long or deep; see get_facet_taxonomy. | |
| performance_tier | No | Channel-relative performance label: over, average or under. | |
| production_style | No | Free-form description of how the item was produced. |