extract_document_outline
Extracts outline candidates from markdown headings, numbered items, and all-caps lines, providing line numbers for evidence. Helps structure unstructured documents.
Instructions
마크다운 헤딩, 번호 매김 항목, 전부 대문자 줄을 목차 후보로 추출합니다.
비정형 문서는 형식이 제각각이므로 규칙 기반 휴리스틱 세 가지를 함께 사용합니다. 결과에는 원문 줄 번호가 함께 담겨 근거로 쓸 수 있습니다.
Args: relative_path: 문서 상대 경로.
Returns:
OutlineResponse: outline[]에 level, title, line이 담깁니다.
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": {
"relative_path": "<relative_path>"
},
"name": "extract_document_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | 문서 상대 경로 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | 폴더 분석 워크플로에서 지금 위치한 단계 | |
| status | Yes | 이 호출의 결과 상태 | |
| outline | Yes | ||
| entry_count | Yes | ||
| next_actions | No | 이어서 호출하면 좋은 도구 목록 | |
| relative_path | Yes |