hwp_generate_multi_documents
Generate separate HWP documents for each data entry by copying a template and applying individual text replacements and table fills, avoiding AllReplace scope issues.
Instructions
하나의 템플릿으로 여러 건의 문서를 생성합니다. 각 데이터마다 템플릿을 별도 파일로 복사 후 채우기/치환하므로 AllReplace 범위 문제가 없습니다. 같은 양식에 여러 사람/기업 데이터를 채울 때 사용하세요.
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>",
"data_list": "<data_list>"
},
"name": "hwp_generate_multi_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_list | Yes | 각 문서별 데이터 | |
| output_dir | No | 출력 디렉토리 (생략 시 템플릿과 같은 폴더) | |
| template_path | Yes | 템플릿 HWP/HWPX 파일 경로 |