You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp.WithDescription("Create a new Anki card with media attachments"),
138
+
mcp.WithDescription("Create a new Anki card with media attachments. Media files are uploaded but not automatically embedded - use [sound:filename] or <img src=\"filename\"> tags in your content"),
139
139
mcp.WithString("deck_name",
140
140
mcp.Required(),
141
141
mcp.Description("Name of the deck to add the card to"),
142
142
),
143
143
mcp.WithString("front",
144
144
mcp.Required(),
145
-
mcp.Description("Front side content of the card"),
145
+
mcp.Description("Front side content of the card (HTML supported, use [sound:filename] for audio)"),
146
146
),
147
147
mcp.WithString("back",
148
148
mcp.Required(),
149
-
mcp.Description("Back side content of the card"),
149
+
mcp.Description("Back side content of the card (HTML supported, use [sound:filename] for audio)"),
150
150
),
151
151
mcp.WithString("model_name",
152
152
mcp.Description("Model/note type to use (default: Basic)"),
@@ -155,16 +155,16 @@ func (a *AnkiMCPServer) registerTools(s *server.MCPServer) {
155
155
mcp.Description("Tags to add to the card"),
156
156
),
157
157
mcp.WithString("audio_filename",
158
-
mcp.Description("Audio filename to attach"),
158
+
mcp.Description("Filename for the audio file (e.g., 'pronunciation.mp3')"),
159
159
),
160
160
mcp.WithString("audio_data",
161
-
mcp.Description("Base64 encoded audiodata"),
161
+
mcp.Description("Audio data - either base64 encoded audio, a data URI (data:audio/mpeg;base64,...), or a file path to an audio file"),
162
162
),
163
163
mcp.WithString("image_filename",
164
-
mcp.Description("Image filename to attach"),
164
+
mcp.Description("Filename for the image file (e.g., 'diagram.png')"),
165
165
),
166
166
mcp.WithString("image_data",
167
-
mcp.Description("Base64 encoded imagedata"),
167
+
mcp.Description("Image data - either base64 encoded image, a data URI (data:image/png;base64,...), or a file path to an image file"),
0 commit comments