get_hunkuk_codes
Retrieve honor grade codes for Korean independence patriots to facilitate accurate searching and filtering of merit records in historical archives.
Instructions
훈격 코드 정보를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gonghun_mcp/tools.py:315-323 (handler)Handler logic for the 'get_hunkuk_codes' tool, which formats and returns the HUNKUK_CODES dictionary as text content.elif name == "get_hunkuk_codes": # 훈격 코드 정보 조회 result_json = format_response(HUNKUK_CODES) return [ TextContent( type="text", text=result_json ) ]
- src/gonghun_mcp/tools.py:181-188 (registration)Registration of the 'get_hunkuk_codes' tool in the list_tools() function, including its name, description, and empty input schema.Tool( name="get_hunkuk_codes", description="훈격 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/tools.py:181-188 (schema)Input schema for 'get_hunkuk_codes' tool, which requires no parameters (empty properties).Tool( name="get_hunkuk_codes", description="훈격 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/config.py:35-43 (helper)Definition of HUNKUK_CODES dictionary used by the get_hunkuk_codes tool to provide hunkuk code information.HUNKUK_CODES = { "PSG00002": "대한민국장", "PSG00003": "대통령장", "PSG00004": "독립장", "PSG00005": "애국장", "PSG00006": "애족장", "PSG00007": "건국포장", "PSG00008": "대통령표창" }