맞춤법·띄어쓰기 교정
correct_grammar한국어 문장의 맞춤법·띄어쓰기를 교정합니다. 교정된 문장과 교정 블록(원문/교정문) 목록을 돌려줍니다. 원문을 다시 쓰지 않고 어긋난 자리만 고치므로 글의 문체·말투가 그대로 남습니다. 고친 자리마다 근거가 되는 한글맞춤법 조항(예: 제1장 총칙 제2항)과 설명·예시가 함께 실려 오므로, 교열 근거를 대야 하는 일에 적합합니다. 띄어쓰기가 전혀 없는 음성 인식 결과·자동 자막 원고도 복원하고 문장 경계를 찾아 문장 부호를 넣습니다. EN: Corrects spelling and word spacing in Korean text. Returns the corrected sentence and a list of correction blocks (original/corrected). It fixes only the places that are wrong instead of rewriting the text, so the style and tone are kept. Each correction comes with the relevant article of the Korean orthography rules (for example Chapter 1 General Provisions, Article 2) plus an explanation and examples, which suits work that needs a reason for each edit. It also restores spacing in text with no spaces at all, such as speech recognition output or auto-generated captions, finds sentence boundaries and adds punctuation. Only Korean text is corrected.
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": {
"text": "<text>"
},
"name": "correct_grammar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 맞춤법/띄어쓰기를 교정할 한국어 텍스트(필수) / EN: Korean text to correct for spelling and spacing (required) | |
| encoding | No | 오프셋 계산 인코딩. utf8/utf16/utf32 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8, utf16 or utf32. Default utf32 | |
| treat_as_title | No | 입력 문장을 기사 등의 제목으로 취급. 기본 false / EN: Treat the input as a headline, such as a news article title. Default false | |
| custom_dict_names | No | 적용할 사용자 사전 이름 목록(선택) / EN: Names of user dictionaries to apply (optional) | |
| disable_confusion | No | 혼동모델 비활성화. 기본 false / EN: Disable the confusable-word model. Default false | |
| disable_bias_check | No | 혐오·차별 표현(낮잡는 말·차별 어휘) 확인 블록 비활성화. 기본 false(= 켬) / EN: Disable confirmation blocks for hateful or discriminatory expressions. Default false (the check is on) | |
| disable_vx_spacing | No | 보조 용언 띄어쓰기 비활성화. 기본 false / EN: Disable spacing correction for auxiliary verbs and adjectives. Default false | |
| enable_contested_fix | No | 논란 여지가 있는 고침 활성화(되세요·에 있어서·복수 -들 남용 등 지침 기반 고침). 기본 false / EN: Enable corrections that are open to debate (guideline-based fixes such as 되세요, 에 있어서 and overuse of the plural -들). Default false | |
| disable_caret_spacing | No | 복합명사 분리 사전 적용 비활성화. 기본 false / EN: Disable the compound-noun splitting dictionary. Default false | |
| enable_sentence_check | No | 문장 단위 점검 활성화(호응·접속·성분 생략·번역투 피동). 기본 false / EN: Enable sentence-level checks (agreement, connectives, omitted constituents, translationese passives). Default false | |
| disable_split_sentence | No | 문장 단위 분할 비활성화. 기본 false / EN: Disable splitting into sentences. Default false | |
| disable_typo_correction | No | 오타(오탈자) 교정 비활성화. 기본 false / EN: Disable typo correction. Default false | |
| enable_cleanup_whitespace | No | 불필요한 공백 정리 활성화. 기본 false / EN: Enable cleanup of unnecessary whitespace. Default false | |
| enable_public_term_refine | No | 공공 용어 순화 제안 활성화(어려운 한자어·외래어·일본어 투를 쉬운 말로, 확인 블록만). 기본 false / EN: Enable plain-language suggestions for public terms (difficult Sino-Korean words, loanwords and Japanese-style expressions, shown as confirmation blocks only). Default false | |
| enable_limited_punctuation | No | 제약된 구두점 사용 기능 활성화. 기본 false / EN: Enable the restricted punctuation feature. Default false |