ai_intent
Intent + slot detection with routing — Classify a chatbot or support message into an intent and extract slots. Optional intents= (comma list) restricts the label: the model's answer is snapped offline to your list (or other). Optional slots= (comma list) names the slots you need; missing ones are reported. Slot values are checked offline against the message (ungroundedSlots = values not in the text). Confidence is normalized to 0-1. Returns a route: AUTO (confident, grounded, complete), CONFIRM, CLARIFY (a requested slot is missing, with a clarifying question) or HUMAN (low confidence or other), plus alternatives and language. Workers AI (Llama 3.3 70B). Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "ai_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. I want to change my flight to Friday morning |