生成分析计划
jasp_plan_analysisGenerates a confirmable analysis plan from loaded data, suggesting variables, factor structure, method, and key options for user review and confirmation; it does not run analyses.
Instructions
由插件根据已加载数据生成可确认的分析计划(建议题项、因子结构、方法与关键选项)。这是分析方案的权威来源:宿主只需把计划展示给用户,不要自行计算、下结论或改用 Python 做旁路分析。用户未指定题项或因子时,插件会检查变量名、前缀和类型并给出建议;建议必须标明为建议,不是已确认的事实。状态为 proposed 时请展示计划并等待用户确认,不要自动执行。确认请用 jasp_confirm_plan,修改请用 jasp_update_plan。本工具不执行分析。
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": {
"session_id": "<session_id>",
"utterance": "<utterance>"
},
"name": "jasp_plan_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | 覆盖默认 JASP 选项(高级用法) | |
| analysis | No | 显式指定方法;不传则按关键词自动识别 | |
| utterance | Yes | 用户原话,例如「比较男女在抑郁得分上的差异」 | |
| variables | No | 变量角色映射,例如 {"dependent":["perf"],"group":["gender"]} | |
| session_id | Yes | 会话 ID |