用 JASP 模板生成报告
jasp_run_templateRun an existing .jasp template through local JASP report mode to export a PDF report, HTML dashboard, and JSON results for repeatable analysis reviews and reporting.
Instructions
用已有 .jasp 模板调用本机 JASP 的 --report 模式,导出 report.pdf、HTML dashboard 与结果 JSON。适合固定分析流程的复核与出报告。
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": {
"template_path": "<template_path>"
},
"name": "jasp_run_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hide | No | 是否传 --hide(0.99.10 上可能导致崩溃,默认 false) | |
| data_dir | No | 兼容参数:JASP 0.99.x 的 CLI 尚不支持替换数据目录 | |
| output_dir | No | 结果输出目录 | |
| timeout_ms | No | 超时毫秒,默认 600000 | |
| template_path | Yes | 已有 .jasp 模板路径 |