get_workout_affil_codes
Retrieve movement affiliation codes to search for Korean independence patriots by their historical activism groups in official merit records.
Instructions
운동계열 코드 정보를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gonghun_mcp/tools.py:325-333 (handler)Handler implementation for the get_workout_affil_codes tool. It formats the WORKOUT_AFFIL_CODES dictionary and returns it as a TextContent response.elif name == "get_workout_affil_codes": # 운동계열 코드 정보 조회 result_json = format_response(WORKOUT_AFFIL_CODES) return [ TextContent( type="text", text=result_json ) ]
- src/gonghun_mcp/tools.py:189-196 (registration)Tool registration in list_tools(), defining name, description, and empty input schema for get_workout_affil_codes.Tool( name="get_workout_affil_codes", description="운동계열 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/tools.py:192-196 (schema)Input schema for the get_workout_affil_codes tool, which accepts no parameters.inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/config.py:45-63 (helper)Supporting data structure: dictionary of workout affiliation codes used and returned by the tool.WORKOUT_AFFIL_CODES = { "UGC00002": "의병", "UGC00003": "3.1운동", "UGC00004": "문화운동", "UGC00005": "국내항일", "UGC00006": "의열투쟁", "UGC00007": "학생운동", "UGC00008": "광복군", "UGC00009": "계몽운동", "UGC00010": "임시정부", "UGC00011": "일본방면", "UGC00012": "만주방면", "UGC00013": "중국방면", "UGC00014": "노령방면", "UGC00015": "미주방면", "UGC00017": "인도네시아방면", "UGC00023": "독립운동지원", "UGC00024": "구주방면" }