@@ -236,7 +236,7 @@ func registerTools(s *server.MCPServer) {
236
236
mcp .WithString ("customer" , mcp .Required (), mcp .Description ("The customer email or ID for the ticket." )),
237
237
mcp .WithString ("body" , mcp .Required (), mcp .Description ("The initial message/content of the ticket." )),
238
238
mcp .WithString ("type" , mcp .Description ("The article type (e.g., 'note', 'email'). Default: 'note'." ), mcp .DefaultString ("note" )),
239
- mcp .WithBoolean ("internal" , mcp .Description ("Whether the article is internal. Default: false." ), mcp .DefaultBoolean (false )),
239
+ mcp .WithBoolean ("internal" , mcp .Description ("Whether the article is internal. Default: false." ), mcp .DefaultBool (false )),
240
240
)
241
241
s .AddTool (createTicketTool , handleCreateTicket )
242
242
@@ -251,7 +251,7 @@ func registerTools(s *server.MCPServer) {
251
251
mcp .WithDescription ("Adds a note/comment to an existing Zammad ticket." ),
252
252
mcp .WithNumber ("ticket_id" , mcp .Required (), mcp .Description ("The ID of the ticket to add a note to." )),
253
253
mcp .WithString ("body" , mcp .Required (), mcp .Description ("The content of the note to add." )),
254
- mcp .WithBoolean ("internal" , mcp .Description ("Whether the note is internal. Default: true." ), mcp .DefaultBoolean (true )),
254
+ mcp .WithBoolean ("internal" , mcp .Description ("Whether the note is internal. Default: true." ), mcp .DefaultBool (true )),
255
255
)
256
256
s .AddTool (addNoteTool , handleAddNoteToTicket )
257
257
0 commit comments