get_workout_affil_codes
Retrieve exercise-related code information using the Model Context Protocol server for accessing the National Patriots and Veterans Affairs' records on independence activists and their contributions.
Instructions
운동계열 코드 정보를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/gonghun_mcp/tools.py:325-333 (handler)The handler logic within the call_tool function that executes the get_workout_affil_codes tool by formatting the WORKOUT_AFFIL_CODES dictionary into JSON and returning 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/config.py:45-63 (helper)Defines the WORKOUT_AFFIL_CODES dictionary containing the workout affiliation codes and labels used by the tool handler.WORKOUT_AFFIL_CODES = { "UGC00002": "의병", "UGC00003": "3.1운동", "UGC00004": "문화운동", "UGC00005": "국내항일", "UGC00006": "의열투쟁", "UGC00007": "학생운동", "UGC00008": "광복군", "UGC00009": "계몽운동", "UGC00010": "임시정부", "UGC00011": "일본방면", "UGC00012": "만주방면", "UGC00013": "중국방면", "UGC00014": "노령방면", "UGC00015": "미주방면", "UGC00017": "인도네시아방면", "UGC00023": "독립운동지원", "UGC00024": "구주방면" }