Skill Run
skill_runHave QuestionPunk's AI run an analysis skill on a survey's responses, in the app's analysis chat, and return the answer; every number and quote in it is checked against the responses by QuestionPunk. Spends the user's AI credits like a chat message (a turn that cites no evidence is not charged). Use it only when the user asks for QuestionPunk to run it or for its checked analysis, and say it uses their credits; otherwise run the skill yourself with skill_prompt. Takes up to two minutes; if it returns status 'running', call skill_run_get with the same surveyId and threadId. segment-comparison needs segmentQuestionId from skill_list's segmentQuestions. Pass a threadId from an earlier run to continue that conversation; otherwise a new chat thread is created in the app.
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": {
"surveyId": "<surveyId>",
"skillId": "<skillId>"
},
"name": "skill_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skillId | Yes | A built-in id (executive-summary, segment-comparison, key-themes, recommendations) or a saved skill's id, from skill_list | |
| surveyId | Yes | Survey ID (from survey_list) | |
| threadId | No | Continue this analysis chat thread (from an earlier skill_run) instead of starting a new one | |
| segmentQuestionId | No | For segment-comparison only: the question whose answers split respondents into groups (from skill_list with surveyId) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |