detect_namespace
Classify text prompts into semantic namespaces to determine how the cachly-mcp-server will process them, using efficient text heuristics without embeddings.
Instructions
Classify a prompt into one of 5 semantic namespaces using text heuristics. Overhead: <0.1 ms, no embedding required. Useful to understand which namespace cachly will use for a given prompt. Returns one of: cachly:sem:code, cachly:sem:translation, cachly:sem:summary, cachly:sem:qa, cachly:sem:creative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt to classify into a semantic namespace |