local_classify
Classify text into one label from a supplied list using a local model, returning only the matching label. Use it to route, tag, or categorize content without sending full text to Claude.
Instructions
Classifies a text into ONE of the given labels, with a local model.
Returns exactly one label from the list, with no additional text.
Args:
text: Text to classify.
labels: List of candidate labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| labels | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |