검색어 자동완성
onegov_suggest_keywordsGet actual indexed search terms starting with a given prefix. Use when your search returns zero results to discover correct keywords.
Instructions
입력한 앞글자로 시작하는, 실제 색인에 존재하는 검색어를 돌려준다. 검색 결과가 0건일 때 정확한 용어를 찾는 용도로 먼저 쓰면 좋다.
Args:
prefix (string, 필수): 앞글자(예: "청년", "반도체").
response_format ('markdown'|'json', 기본 markdown)
Returns: { suggestions: [{ text, doc_type }] }
Examples:
"청년" → 청년도약계좌, 청년월세지원, 청년기본법 …
쓰지 말 것: 실제 문서를 찾을 때(→ onegov_search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | 검색어 앞글자 | |
| response_format | No | 출력 형식. 'markdown'은 사람이 읽기 좋은 요약(기본값), 'json'은 API 원본에 가까운 구조화 데이터. | markdown |