get_workout_affil_codes
Retrieve movement affiliation codes to filter Korean independence patriot records by their historical activism groups.
Instructions
운동계열 코드 정보를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gonghun_mcp/tools.py:325-333 (handler)The handler function for the 'get_workout_affil_codes' tool. It formats the WORKOUT_AFFIL_CODES dictionary into JSON and returns it as TextContent.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)Registers the 'get_workout_affil_codes' tool in the list_tools() function, including its name, description, and empty input schema.Tool( name="get_workout_affil_codes", description="운동계열 코드 정보를 조회합니다", inputSchema={ "type": "object", "properties": {} } ),
- src/gonghun_mcp/tools.py:192-195 (schema)The input schema for the tool, which is an empty object (no parameters required).inputSchema={ "type": "object", "properties": {} }
- src/gonghun_mcp/config.py:45-63 (helper)Constant dictionary defining the workout affiliation codes (key-value pairs) that the tool returns.WORKOUT_AFFIL_CODES = { "UGC00002": "의병", "UGC00003": "3.1운동", "UGC00004": "문화운동", "UGC00005": "국내항일", "UGC00006": "의열투쟁", "UGC00007": "학생운동", "UGC00008": "광복군", "UGC00009": "계몽운동", "UGC00010": "임시정부", "UGC00011": "일본방면", "UGC00012": "만주방면", "UGC00013": "중국방면", "UGC00014": "노령방면", "UGC00015": "미주방면", "UGC00017": "인도네시아방면", "UGC00023": "독립운동지원", "UGC00024": "구주방면" }