read_docx
Extract body text, headings, and tables from .docx files, with configurable character limit. Returns structured data for AI interpretation.
Instructions
Word(.docx) 문서의 본문 문단, 제목, 표를 추출한다.
옛 형식(.doc)은 지원하지 않습니다 — Word에서 '다른 이름으로 저장 > .docx'로 변환한 뒤 다시 시도하세요.
Args: file_path: docx 파일 경로. max_chars: 본문 최대 글자 수 (기본 60000).
Returns:
ReadDocxResponse: text(본문), headings(제목 스타일 문단),
tables(행 단위 셀 텍스트).
Raises: ToolFailure: PATH_NOT_FOUND / NOT_A_FILE / FILE_TOO_LARGE / UNSUPPORTED_EXTENSION.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 읽을 .docx 파일 경로 | |
| max_chars | No | 본문 최대 글자 수. 초과분은 잘림 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| status | Yes | 이 호출의 결과 상태 | |
| tables | Yes | ||
| headings | Yes | ||
| file_path | Yes | ||
| truncated | Yes | ||
| next_actions | No | 이어서 호출하면 좋은 도구 목록 | |
| paragraph_count | Yes |