@@ -84,26 +84,26 @@ func (m *MCPServer) AddTools() []server.ServerTool {
8484 Description : "Get a list of all monsters with their details" ,
8585 InputSchema : mcp.ToolInputSchema {
8686 Type : "object" ,
87- Properties : map [string ]interface {} {
88- "monster_ids" : map [string ]interface {} {
87+ Properties : map [string ]any {
88+ "monster_ids" : map [string ]any {
8989 "type" : "string" ,
9090 "description" : "Filter by monster ID (optional, can be a comma-separated list of IDs)" ,
9191 },
92- "name" : map [string ]interface {} {
92+ "name" : map [string ]any {
9393 "type" : "string" ,
9494 "description" : "Filter by monster name (optional, supports partial matches)" ,
9595 },
96- "sort" : map [string ]interface {} {
96+ "sort" : map [string ]any {
9797 "type" : "string" ,
9898 "description" : "Sort order for the results (optional, 'asc' for ascending, 'desc' for descending, default is 'asc')" ,
9999 "enum" : []string {"asc" , "desc" },
100100 },
101- "offset" : map [string ]interface {} {
101+ "offset" : map [string ]any {
102102 "type" : "integer" ,
103103 "description" : "Offset for pagination (optional, default: 0)" ,
104104 "minimum" : 0 ,
105105 },
106- "limit" : map [string ]interface {} {
106+ "limit" : map [string ]any {
107107 "type" : "integer" ,
108108 "description" : "Number of items per page (optional, default: 50)" ,
109109 "minimum" : 1 ,
@@ -120,8 +120,8 @@ func (m *MCPServer) AddTools() []server.ServerTool {
120120 Description : "Get detailed information about a specific monster by ID" ,
121121 InputSchema : mcp.ToolInputSchema {
122122 Type : "object" ,
123- Properties : map [string ]interface {} {
124- "monster_id" : map [string ]interface {} {
123+ Properties : map [string ]any {
124+ "monster_id" : map [string ]any {
125125 "type" : "string" ,
126126 "description" : "The unique identifier of the monster" ,
127127 },
@@ -137,22 +137,22 @@ func (m *MCPServer) AddTools() []server.ServerTool {
137137 Description : "Search weapons with various filters" ,
138138 InputSchema : mcp.ToolInputSchema {
139139 Type : "object" ,
140- Properties : map [string ]interface {} {
141- "weapon_id" : map [string ]interface {} {
140+ Properties : map [string ]any {
141+ "weapon_id" : map [string ]any {
142142 "type" : "string" ,
143143 "description" : "Filter by weapon ID (optional)" ,
144144 },
145- "name" : map [string ]interface {} {
145+ "name" : map [string ]any {
146146 "type" : "string" ,
147147 "description" : "Filter by weapon name (optional)" ,
148148 },
149- "limit" : map [string ]interface {} {
149+ "limit" : map [string ]any {
150150 "type" : "integer" ,
151151 "description" : "Number of items to return (optional, default: 50)" ,
152152 "minimum" : 1 ,
153153 "maximum" : 100 ,
154154 },
155- "offset" : map [string ]interface {} {
155+ "offset" : map [string ]any {
156156 "type" : "integer" ,
157157 "description" : "Number of items to skip (optional, default: 0)" ,
158158 "minimum" : 0 ,
@@ -168,7 +168,7 @@ func (m *MCPServer) AddTools() []server.ServerTool {
168168 Description : "Get a list of all items" ,
169169 InputSchema : mcp.ToolInputSchema {
170170 Type : "object" ,
171- Properties : map [string ]interface {} {},
171+ Properties : map [string ]any {},
172172 },
173173 },
174174 Handler : m .getItems ,
@@ -180,8 +180,8 @@ func (m *MCPServer) AddTools() []server.ServerTool {
180180 Description : "Get detailed information about a specific item by ID" ,
181181 InputSchema : mcp.ToolInputSchema {
182182 Type : "object" ,
183- Properties : map [string ]interface {} {
184- "item_id" : map [string ]interface {} {
183+ Properties : map [string ]any {
184+ "item_id" : map [string ]any {
185185 "type" : "string" ,
186186 "description" : "The unique identifier of the item" ,
187187 },
@@ -197,8 +197,8 @@ func (m *MCPServer) AddTools() []server.ServerTool {
197197 Description : "Get items that can be obtained from a specific monster" ,
198198 InputSchema : mcp.ToolInputSchema {
199199 Type : "object" ,
200- Properties : map [string ]interface {} {
201- "monster_id" : map [string ]interface {} {
200+ Properties : map [string ]any {
201+ "monster_id" : map [string ]any {
202202 "type" : "string" ,
203203 "description" : "The unique identifier of the monster" ,
204204 },
@@ -214,7 +214,7 @@ func (m *MCPServer) AddTools() []server.ServerTool {
214214 Description : "Get a list of all skills with their level details" ,
215215 InputSchema : mcp.ToolInputSchema {
216216 Type : "object" ,
217- Properties : map [string ]interface {} {},
217+ Properties : map [string ]any {},
218218 },
219219 },
220220 Handler : m .getSkills ,
@@ -225,8 +225,8 @@ func (m *MCPServer) AddTools() []server.ServerTool {
225225 Description : "Get detailed information about a specific skill by ID" ,
226226 InputSchema : mcp.ToolInputSchema {
227227 Type : "object" ,
228- Properties : map [string ]interface {} {
229- "skill_id" : map [string ]interface {} {
228+ Properties : map [string ]any {
229+ "skill_id" : map [string ]any {
230230 "type" : "string" ,
231231 "description" : "The unique identifier of the skill" ,
232232 },
0 commit comments