Run an Insights function
run_insights_functionAdvanced Insights operations by name: AI narrative (insights_ai_summary with regenerate=true), open-end theming (insights_openend_themes, needs qid), theme frames, wave maps, age bands, exhibits, share links (insights_share_create), frozen report versions, external waves, PPTX export (insights_pptx, base64), hiding findings, saved trackers (insights_definition_list/save {name, config:{waves:[{kind:'survey'|'external', id, label}], banner_qids}}/delete/clone), light_list_compare_surveys / list_surveys / get_survey. params holds the function's own arguments.
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": {
"survey_id": "<survey_id>",
"fn": "<fn>"
},
"name": "run_insights_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fn | Yes | Function name. | |
| params | No | Arguments for the function (see its docs). | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). |