classify
Label text or server-side file content with one or more categories using a local model for tagging, routing, or triage.
Instructions
Classify text/file content into one or more labels with the local model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob pattern, e.g. 'src/**/*.ts' | |
| path | No | Single file path (read server-side — never enters your context) | |
| seed | No | Fixed seed for reproducible output. | |
| stop | No | Stop sequences. | |
| text | No | Inline text instead of files | |
| model | No | ||
| paths | No | Multiple file paths | |
| think | No | Chain-of-thought control (ollama `think`; best-effort on openai-compatible servers). think:false keeps the whole max_tokens budget for the answer. | |
| top_p | No | Nucleus sampling threshold. | |
| labels | Yes | Candidate labels | |
| num_ctx | No | ||
| options | No | Provider-native overrides merged into the request (ollama `options` keys like top_k/repeat_penalty; openai-compatible body fields). Wins over named params. | |
| provider | No | ||
| multi_label | No | Allow multiple labels (default false) | |
| temperature | No |