우리말샘 음소 검색
search_dict우리말샘 사전을 자소(음소) 단위 슬롯 패턴으로 검색합니다. 완성형으로 표현할 수 없는 조건 — 초성·중성·종성 각각에 대한 조건('받침이 ㅎ인 용언', '중성이 ㅚ이고 받침 없는 1음절 어간') — 을 걸 수 있고, anchor=suffix 로 '-아지'·'-둥이'처럼 끝소리 검색도 됩니다. 각운(라임) 찾기, 초성 퀴즈·끝말잇기, 불규칙 활용 후보 수집처럼 글자를 자소로 쪼개야 풀리는 일에 씁니다. 색인 없이 사전 전체(약 100만 항목)를 훑으므로 넓은 패턴은 count_only 로 규모부터 확인하세요. EN: Searches the Urimalsaem dictionary (the open Korean dictionary) with jamo-level slot patterns. You can set conditions on the initial, medial and final of each syllable that cannot be written with whole syllables (for example a predicate whose final consonant is ㅎ, or a one-syllable stem with medial ㅚ and no final), and anchor=suffix also finds endings such as -아지 or -둥이. Use it for tasks that need letters split into jamo, such as finding rhymes, initial-consonant quizzes, word chains, and collecting irregular conjugation candidates. It scans the whole dictionary (about one million entries) without an index, so check the size of a broad pattern with count_only first.
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": {
"pattern": "<pattern>"
},
"name": "search_dict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | 품사 필터(비우면 전체, OR). 우리말샘 표기('동사'·'명사'·'보조 동사') 또는 별칭('용언'·'동사류'·'형용사류'·'체언'·'부사류'·'수식언'·'관계언') / EN: Part-of-speech filter (empty means all, combined with OR). Use Urimalsaem names such as 동사 (verb), 명사 (noun), 보조 동사 (auxiliary verb), or aliases such as 용언 (predicates), 동사류, 형용사류, 체언 (substantives), 부사류, 수식언 and 관계언 | |
| limit | No | 돌려줄 표제어 최대 개수. 기본 100, 상한 1000 / EN: Maximum number of headwords to return. Default 100, maximum 1000 | |
| anchor | No | 패턴 위치. word(표제어 전체, 기본)/prefix(앞)/suffix(뒤 — '-아지'로 끝나는 말 등)/contains(포함) 중 하나 / EN: Where the pattern matches: word (whole headword, default), prefix, suffix (for example words ending in -아지) or contains | |
| offset | No | 건너뛸 표제어 개수(페이지 넘기기). 기본 0 / EN: Number of headwords to skip (for paging). Default 0 | |
| pattern | Yes | 자소 슬롯 패턴(필수). 음절 리터럴('다'), {초/중/종} 슬롯({ㅅ//ㄴ}=초성ㅅ·종성ㄴ, {/ㅚ/-}=중성ㅚ·받침없음, {//ㅎ}=받침ㅎ), '*'(음절 0개 이상), '?'(음절 1개)를 조합한다. 슬롯 필드에는 자모(ㄱ), 겹받침·이중모음의 두 자모 이어쓰기(ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), 선택(ㄱ|ㅋ), 문자 클래스([ㄱㄴㄷ]·[^ㄱ]·[ㄱ-ㄷ]), 종성 전용 '-'(받침 없음)/'+'(받침 있음)를 쓸 수 있다. 예: '{ㅅ//ㄴ}다' → 신다, '*{//ㅎ}다' → 낳다·넣다·내놓다 / EN: Jamo slot pattern (required). Combine syllable literals (e.g. 다), {initial/medial/final} slots ({ㅅ//ㄴ} = initial ㅅ and final ㄴ, {/ㅚ/-} = medial ㅚ and no final consonant, {//ㅎ} = final ㅎ), '*' (zero or more syllables) and '?' (exactly one syllable). Slot fields accept a jamo (ㄱ), two jamo written together for double finals and diphthongs (ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), alternatives (ㄱ|ㅋ), character classes ([ㄱㄴㄷ], [^ㄱ], [ㄱ-ㄷ]), and for finals only '-' (no final) or '+' (has a final). Examples: '{ㅅ//ㄴ}다' matches 신다, '*{//ㅎ}다' matches 낳다, 넣다, 내놓다 | |
| std_only | No | true면 비표준어·방언·북한어 항목을 제외한다. 기본 false / EN: If true, exclude non-standard words, dialect words and North Korean words. Default false | |
| count_only | No | true면 항목 없이 개수만 돌려준다(넓은 패턴의 규모 확인용). 기본 false / EN: If true, return only the count without entries (to check the size of a broad pattern). Default false | |
| with_definition | No | true면 표제어마다 뜻풀이·용례까지 돌려준다. 응답이 커지므로 필요한 때만. 기본 false / EN: If true, return definitions and usage examples for each headword. The response gets large, so use it only when needed. Default false |