generate_student_doc
Generate standardized Word (.docx) application documents from structured student competition, research grant, or scholarship data with school-specific templates.
Instructions
根据采集到的结构化申报数据,自动执行本地渲染脚本,生成一份标准规范的 Word (.docx) 文档。
参数:
skill_name: 赛道名称(如 'innovation-research', 'challenge-cup' 等)
data: 申报书数据字典(若 demo=True 则此项可为空)
output_path: 生成的目标 .docx 绝对路径(可选;默认自动生成在 outputs 或 /tmp 下)
school: 学校版式模板(如 'tsinghua', 'pku', 'whu', 'zju', 'default')
demo: 是否使用内置示例数据快速体验生成
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": {
"skill_name": "<skill_name>"
},
"name": "generate_student_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| demo | No | ||
| school | No | ||
| skill_name | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |