ai_survey_themes
Survey open-ended response themes — Code open-ended survey or feedback responses into themes with Workers AI: each theme gets a name, description, sentiment, the response ids that belong to it, count and percent (computed offline), a representative quote verified to be verbatim, and a suggested action. Also returns overall sentiment, summary, unassigned and outlier responses, duplicate count and top recurring terms. text= holds responses one per line (URL-encode newlines as %0A) or |-separated with sep=pipe; optional question= for context and max_themes= (default 8, max 12). Up to 200 responses / 14k characters. Price: $0.01 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_survey_themes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. Checkout was slow and crashed twice Love the new dark mode Support took 3 days to answer my ticket The app crashes when I upload photos Dark mode is great on my eyes Prices went up again, not happy Support was friendly but slow |