get_hunkuk_codes
Retrieve Korean independence activist honor codes from the National Patriots and Veterans Affairs database to identify and categorize historical merit records.
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: formats HUNKUK_CODES and returns as TextContent.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)Tool registration in list_tools(), including name, description, and input schema (empty object).Tool( name="get_hunkuk_codes", description="훈격 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/config.py:35-43 (helper)HUNKUK_CODES dictionary providing the core data (code to name mappings) returned by the tool.HUNKUK_CODES = { "PSG00002": "대한민국장", "PSG00003": "대통령장", "PSG00004": "독립장", "PSG00005": "애국장", "PSG00006": "애족장", "PSG00007": "건국포장", "PSG00008": "대통령표창" }