get_hunkuk_codes
Retrieve medal code information from the MCP server dedicated to accessing records of Korean independence activists and their achievements.
Instructions
훈격 코드 정보를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gonghun_mcp/tools.py:315-323 (handler)The execution handler for the 'get_hunkuk_codes' tool. It formats the HUNKUK_CODES dictionary using format_response and returns it as a TextContent response.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 schema (empty object properties).Tool( name="get_hunkuk_codes", description="훈격 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/config.py:35-43 (helper)The HUNKUK_CODES dictionary containing the hunkuk code mappings, which is the core data returned by the tool.HUNKUK_CODES = { "PSG00002": "대한민국장", "PSG00003": "대통령장", "PSG00004": "독립장", "PSG00005": "애국장", "PSG00006": "애족장", "PSG00007": "건국포장", "PSG00008": "대통령표창" }