Choose the next allowed action.
Lookup order
Look up an existing order status
CLEF PLAYGROUND
Pick a scenario. Explore the context, shape the questions, and understand the decisions.
Describe the request and what your app or agent is allowed to do.
Tell Clef what to check. Edit the sample questions or add your own (1–3 questions).
Keep at least one question to run an analysis.
3 attempts/minute and 3/day per public IP; 300/day site-wide. Browsers, devices, and models using the same public IP share this quota. Daily reset: 00:00 UTC. Failed, timed out, and canceled attempts may count.
98 / 8000 serialized UTF-8 bytes used.
Replaces the content with an ambiguous example to test your rules. It does not run an analysis.
Example answersIllustrative · not a live result
Choose the next allowed action.
Look up an existing order status
Probabilities express a model’s judgment, not measured accuracy. Example values are illustrative.
Selected option: lookup_order
API confidence: 73.0%. This is a separate field from the option probabilities.
{
"model": "clef-flash",
"answers": {
"next_step": {
"type": "choice",
"choice": "lookup_order",
"probabilities": {
"lookup_order": 0.88,
"answer_faq": 0.03,
"human_review": 0.09
},
"confidence": 0.73
}
}
}For developers
Copy an API request for your current draft, or save the configuration for later.
Drafts stay in page memory. Export before leaving. Configuration files never include images, credentials, or results.
curl "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai/run/@cf/cloudflare/clef-flash" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H 'Content-Type: application/json' \
--data-binary '{"model":"clef-flash","state":"The user asks for the current delivery status of order A104. The order lookup tool is available.","questions":{"next_step":{"type":"choice","instructions":"Choose the next allowed action.","criteria":{"lookup_order":"Look up an existing order status","answer_faq":"Answer a general policy question","human_review":"Escalate unclear or unsupported requests"}}}}'Help us improve the toolkit
Allow Google Analytics to measure visits and tool use? Your playground content is excluded. Privacy details