hwp_form_workflow
Executes a multi-phase workflow for filling HWP form documents, including learning, planning, previewing, filling, and verifying, with support for field and table cell overrides.
Instructions
양식 파일 첨부 워크플로우. v0.7.5.4 read-only 기본: phase="all" 은 learn→plan→preview 에서 정지 (fill 은 사용자 명시 호출 필요). phase 별: learn(학습)→plan(계획)→preview(미리보기)→fill(명시)→verify(명시)→rollback(원본 복원). auto_fix 는 v0.7.5.4 부터 no-op (원본 서식 보호). table_cell_overrides/field_overrides 로 Claude host 가 직접 제어.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | Yes | 실행할 단계. "all" 은 read-only (learn→plan→preview 만) | |
| form_file | No | 양식 HWP/HWPX 파일 (learn 또는 all 첫 호출 시 필수) | |
| session_id | No | 세션 ID (없으면 자동 생성) | |
| output_path | No | 저장 경로 (생략 시 form_file 옆에 _filled 접미사) | |
| confirm_fill | No | fill 단계 진행 확인 (사용자 승인 완료) | |
| user_request | No | 사용자 요청 (plan 단계에서 estimate_workload 입력) | |
| reference_file | No | 참고 자료 (Excel/CSV/JSON/PDF/DOCX/HTML) | |
| field_overrides | No | 필드명→값 직접 지정 (auto_map 결과 덮어쓰기) | |
| auto_fix_enabled | No | v0.7.5.4: auto_fix 활성화 여부 (기본 false). true 여도 P0-2 runAutoFixLoop no-op 이므로 validate 만 수행. | |
| auto_fix_threshold | No | auto_fix 점수 임계 (기본 85, auto_fix_enabled=true 일 때만 의미) | |
| table_cell_overrides | No | 표 셀 직접 지정 (auto_map 결과 덮어쓰기) | |
| auto_fix_max_iterations | No | auto_fix 최대 반복 (기본 2, auto_fix_enabled=true 일 때만 의미) |