@ankimcp/anki-mcp-server 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/app.module.js +2 -2
  2. package/dist/app.module.js.map +1 -1
  3. package/dist/mcp/primitives/essential/index.d.ts +24 -0
  4. package/dist/mcp/primitives/essential/index.js +9 -5
  5. package/dist/mcp/primitives/essential/index.js.map +1 -1
  6. package/dist/mcp/primitives/essential/tools/add-note.tool.d.ts +30 -0
  7. package/dist/mcp/primitives/essential/tools/add-note.tool.js +1 -1
  8. package/dist/mcp/primitives/essential/tools/add-note.tool.js.map +1 -1
  9. package/dist/mcp/primitives/essential/tools/create-deck.tool.d.ts +30 -0
  10. package/dist/mcp/primitives/essential/tools/create-model.tool.d.ts +30 -0
  11. package/dist/mcp/primitives/essential/tools/delete-notes.tool.d.ts +30 -0
  12. package/dist/mcp/primitives/essential/tools/find-notes.tool.d.ts +30 -0
  13. package/dist/mcp/primitives/essential/tools/get-cards.tool.d.ts +37 -1
  14. package/dist/mcp/primitives/essential/tools/get-due-cards.tool.d.ts +30 -0
  15. package/dist/mcp/primitives/essential/tools/get-tags.tool.d.ts +105 -0
  16. package/dist/mcp/primitives/essential/tools/get-tags.tool.js +86 -0
  17. package/dist/mcp/primitives/essential/tools/get-tags.tool.js.map +1 -0
  18. package/dist/mcp/primitives/essential/tools/list-decks.tool.d.ts +30 -0
  19. package/dist/mcp/primitives/essential/tools/mediaActions/mediaActions.tool.d.ts +30 -0
  20. package/dist/mcp/primitives/essential/tools/model-field-names.tool.d.ts +30 -0
  21. package/dist/mcp/primitives/essential/tools/model-names.tool.d.ts +30 -0
  22. package/dist/mcp/primitives/essential/tools/model-styling.tool.d.ts +30 -0
  23. package/dist/mcp/primitives/essential/tools/notes-info.tool.d.ts +30 -0
  24. package/dist/mcp/primitives/essential/tools/present-card.tool.d.ts +30 -0
  25. package/dist/mcp/primitives/essential/tools/rate-card.tool.d.ts +30 -0
  26. package/dist/mcp/primitives/essential/tools/sync.tool.d.ts +30 -0
  27. package/dist/mcp/primitives/essential/tools/update-model-styling.tool.d.ts +30 -0
  28. package/dist/mcp/primitives/essential/tools/update-note-fields.tool.d.ts +30 -0
  29. package/dist/mcp/primitives/essential/tools/update-note-fields.tool.js +1 -1
  30. package/dist/mcp/primitives/essential/tools/update-note-fields.tool.js.map +1 -1
  31. package/dist/mcp/primitives/gui/index.d.ts +12 -0
  32. package/dist/mcp/primitives/gui/index.js +5 -5
  33. package/dist/mcp/primitives/gui/index.js.map +1 -1
  34. package/dist/mcp/primitives/gui/tools/gui-add-cards.tool.d.ts +30 -0
  35. package/dist/mcp/primitives/gui/tools/gui-add-cards.tool.js +1 -1
  36. package/dist/mcp/primitives/gui/tools/gui-add-cards.tool.js.map +1 -1
  37. package/dist/mcp/primitives/gui/tools/gui-browse.tool.d.ts +30 -0
  38. package/dist/mcp/primitives/gui/tools/gui-current-card.tool.d.ts +30 -0
  39. package/dist/mcp/primitives/gui/tools/gui-deck-browser.tool.d.ts +30 -0
  40. package/dist/mcp/primitives/gui/tools/gui-deck-overview.tool.d.ts +30 -0
  41. package/dist/mcp/primitives/gui/tools/gui-edit-note.tool.d.ts +30 -0
  42. package/dist/mcp/primitives/gui/tools/gui-select-card.tool.d.ts +30 -0
  43. package/dist/mcp/primitives/gui/tools/gui-selected-notes.tool.d.ts +30 -0
  44. package/dist/mcp/primitives/gui/tools/gui-show-answer.tool.d.ts +30 -0
  45. package/dist/mcp/primitives/gui/tools/gui-show-question.tool.d.ts +30 -0
  46. package/dist/mcp/primitives/gui/tools/gui-undo.tool.d.ts +30 -0
  47. package/dist/tsconfig.build.tsbuildinfo +1 -1
  48. package/package.json +35 -28
@@ -15,6 +15,11 @@ export declare class GuiBrowseTool {
15
15
  content: ({
16
16
  type: "text";
17
17
  text: string;
18
+ annotations?: {
19
+ audience?: ("user" | "assistant")[] | undefined;
20
+ priority?: number | undefined;
21
+ lastModified?: string | undefined;
22
+ } | undefined;
18
23
  _meta?: {
19
24
  [x: string]: unknown;
20
25
  } | undefined;
@@ -22,6 +27,11 @@ export declare class GuiBrowseTool {
22
27
  type: "image";
23
28
  data: string;
24
29
  mimeType: string;
30
+ annotations?: {
31
+ audience?: ("user" | "assistant")[] | undefined;
32
+ priority?: number | undefined;
33
+ lastModified?: string | undefined;
34
+ } | undefined;
25
35
  _meta?: {
26
36
  [x: string]: unknown;
27
37
  } | undefined;
@@ -29,6 +39,11 @@ export declare class GuiBrowseTool {
29
39
  type: "audio";
30
40
  data: string;
31
41
  mimeType: string;
42
+ annotations?: {
43
+ audience?: ("user" | "assistant")[] | undefined;
44
+ priority?: number | undefined;
45
+ lastModified?: string | undefined;
46
+ } | undefined;
32
47
  _meta?: {
33
48
  [x: string]: unknown;
34
49
  } | undefined;
@@ -38,6 +53,11 @@ export declare class GuiBrowseTool {
38
53
  type: "resource_link";
39
54
  description?: string | undefined;
40
55
  mimeType?: string | undefined;
56
+ annotations?: {
57
+ audience?: ("user" | "assistant")[] | undefined;
58
+ priority?: number | undefined;
59
+ lastModified?: string | undefined;
60
+ } | undefined;
41
61
  _meta?: {
42
62
  [x: string]: unknown;
43
63
  } | undefined;
@@ -45,6 +65,7 @@ export declare class GuiBrowseTool {
45
65
  src: string;
46
66
  mimeType?: string | undefined;
47
67
  sizes?: string[] | undefined;
68
+ theme?: "light" | "dark" | undefined;
48
69
  }[] | undefined;
49
70
  title?: string | undefined;
50
71
  } | {
@@ -64,12 +85,21 @@ export declare class GuiBrowseTool {
64
85
  [x: string]: unknown;
65
86
  } | undefined;
66
87
  };
88
+ annotations?: {
89
+ audience?: ("user" | "assistant")[] | undefined;
90
+ priority?: number | undefined;
91
+ lastModified?: string | undefined;
92
+ } | undefined;
67
93
  _meta?: {
68
94
  [x: string]: unknown;
69
95
  } | undefined;
70
96
  })[];
71
97
  _meta?: {
72
98
  [x: string]: unknown;
99
+ progressToken?: string | number | undefined;
100
+ "io.modelcontextprotocol/related-task"?: {
101
+ taskId: string;
102
+ } | undefined;
73
103
  } | undefined;
74
104
  structuredContent?: {
75
105
  [x: string]: unknown;
@@ -9,6 +9,11 @@ export declare class GuiCurrentCardTool {
9
9
  content: ({
10
10
  type: "text";
11
11
  text: string;
12
+ annotations?: {
13
+ audience?: ("user" | "assistant")[] | undefined;
14
+ priority?: number | undefined;
15
+ lastModified?: string | undefined;
16
+ } | undefined;
12
17
  _meta?: {
13
18
  [x: string]: unknown;
14
19
  } | undefined;
@@ -16,6 +21,11 @@ export declare class GuiCurrentCardTool {
16
21
  type: "image";
17
22
  data: string;
18
23
  mimeType: string;
24
+ annotations?: {
25
+ audience?: ("user" | "assistant")[] | undefined;
26
+ priority?: number | undefined;
27
+ lastModified?: string | undefined;
28
+ } | undefined;
19
29
  _meta?: {
20
30
  [x: string]: unknown;
21
31
  } | undefined;
@@ -23,6 +33,11 @@ export declare class GuiCurrentCardTool {
23
33
  type: "audio";
24
34
  data: string;
25
35
  mimeType: string;
36
+ annotations?: {
37
+ audience?: ("user" | "assistant")[] | undefined;
38
+ priority?: number | undefined;
39
+ lastModified?: string | undefined;
40
+ } | undefined;
26
41
  _meta?: {
27
42
  [x: string]: unknown;
28
43
  } | undefined;
@@ -32,6 +47,11 @@ export declare class GuiCurrentCardTool {
32
47
  type: "resource_link";
33
48
  description?: string | undefined;
34
49
  mimeType?: string | undefined;
50
+ annotations?: {
51
+ audience?: ("user" | "assistant")[] | undefined;
52
+ priority?: number | undefined;
53
+ lastModified?: string | undefined;
54
+ } | undefined;
35
55
  _meta?: {
36
56
  [x: string]: unknown;
37
57
  } | undefined;
@@ -39,6 +59,7 @@ export declare class GuiCurrentCardTool {
39
59
  src: string;
40
60
  mimeType?: string | undefined;
41
61
  sizes?: string[] | undefined;
62
+ theme?: "light" | "dark" | undefined;
42
63
  }[] | undefined;
43
64
  title?: string | undefined;
44
65
  } | {
@@ -58,12 +79,21 @@ export declare class GuiCurrentCardTool {
58
79
  [x: string]: unknown;
59
80
  } | undefined;
60
81
  };
82
+ annotations?: {
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
61
87
  _meta?: {
62
88
  [x: string]: unknown;
63
89
  } | undefined;
64
90
  })[];
65
91
  _meta?: {
66
92
  [x: string]: unknown;
93
+ progressToken?: string | number | undefined;
94
+ "io.modelcontextprotocol/related-task"?: {
95
+ taskId: string;
96
+ } | undefined;
67
97
  } | undefined;
68
98
  structuredContent?: {
69
99
  [x: string]: unknown;
@@ -9,6 +9,11 @@ export declare class GuiDeckBrowserTool {
9
9
  content: ({
10
10
  type: "text";
11
11
  text: string;
12
+ annotations?: {
13
+ audience?: ("user" | "assistant")[] | undefined;
14
+ priority?: number | undefined;
15
+ lastModified?: string | undefined;
16
+ } | undefined;
12
17
  _meta?: {
13
18
  [x: string]: unknown;
14
19
  } | undefined;
@@ -16,6 +21,11 @@ export declare class GuiDeckBrowserTool {
16
21
  type: "image";
17
22
  data: string;
18
23
  mimeType: string;
24
+ annotations?: {
25
+ audience?: ("user" | "assistant")[] | undefined;
26
+ priority?: number | undefined;
27
+ lastModified?: string | undefined;
28
+ } | undefined;
19
29
  _meta?: {
20
30
  [x: string]: unknown;
21
31
  } | undefined;
@@ -23,6 +33,11 @@ export declare class GuiDeckBrowserTool {
23
33
  type: "audio";
24
34
  data: string;
25
35
  mimeType: string;
36
+ annotations?: {
37
+ audience?: ("user" | "assistant")[] | undefined;
38
+ priority?: number | undefined;
39
+ lastModified?: string | undefined;
40
+ } | undefined;
26
41
  _meta?: {
27
42
  [x: string]: unknown;
28
43
  } | undefined;
@@ -32,6 +47,11 @@ export declare class GuiDeckBrowserTool {
32
47
  type: "resource_link";
33
48
  description?: string | undefined;
34
49
  mimeType?: string | undefined;
50
+ annotations?: {
51
+ audience?: ("user" | "assistant")[] | undefined;
52
+ priority?: number | undefined;
53
+ lastModified?: string | undefined;
54
+ } | undefined;
35
55
  _meta?: {
36
56
  [x: string]: unknown;
37
57
  } | undefined;
@@ -39,6 +59,7 @@ export declare class GuiDeckBrowserTool {
39
59
  src: string;
40
60
  mimeType?: string | undefined;
41
61
  sizes?: string[] | undefined;
62
+ theme?: "light" | "dark" | undefined;
42
63
  }[] | undefined;
43
64
  title?: string | undefined;
44
65
  } | {
@@ -58,12 +79,21 @@ export declare class GuiDeckBrowserTool {
58
79
  [x: string]: unknown;
59
80
  } | undefined;
60
81
  };
82
+ annotations?: {
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
61
87
  _meta?: {
62
88
  [x: string]: unknown;
63
89
  } | undefined;
64
90
  })[];
65
91
  _meta?: {
66
92
  [x: string]: unknown;
93
+ progressToken?: string | number | undefined;
94
+ "io.modelcontextprotocol/related-task"?: {
95
+ taskId: string;
96
+ } | undefined;
67
97
  } | undefined;
68
98
  structuredContent?: {
69
99
  [x: string]: unknown;
@@ -11,6 +11,11 @@ export declare class GuiDeckOverviewTool {
11
11
  content: ({
12
12
  type: "text";
13
13
  text: string;
14
+ annotations?: {
15
+ audience?: ("user" | "assistant")[] | undefined;
16
+ priority?: number | undefined;
17
+ lastModified?: string | undefined;
18
+ } | undefined;
14
19
  _meta?: {
15
20
  [x: string]: unknown;
16
21
  } | undefined;
@@ -18,6 +23,11 @@ export declare class GuiDeckOverviewTool {
18
23
  type: "image";
19
24
  data: string;
20
25
  mimeType: string;
26
+ annotations?: {
27
+ audience?: ("user" | "assistant")[] | undefined;
28
+ priority?: number | undefined;
29
+ lastModified?: string | undefined;
30
+ } | undefined;
21
31
  _meta?: {
22
32
  [x: string]: unknown;
23
33
  } | undefined;
@@ -25,6 +35,11 @@ export declare class GuiDeckOverviewTool {
25
35
  type: "audio";
26
36
  data: string;
27
37
  mimeType: string;
38
+ annotations?: {
39
+ audience?: ("user" | "assistant")[] | undefined;
40
+ priority?: number | undefined;
41
+ lastModified?: string | undefined;
42
+ } | undefined;
28
43
  _meta?: {
29
44
  [x: string]: unknown;
30
45
  } | undefined;
@@ -34,6 +49,11 @@ export declare class GuiDeckOverviewTool {
34
49
  type: "resource_link";
35
50
  description?: string | undefined;
36
51
  mimeType?: string | undefined;
52
+ annotations?: {
53
+ audience?: ("user" | "assistant")[] | undefined;
54
+ priority?: number | undefined;
55
+ lastModified?: string | undefined;
56
+ } | undefined;
37
57
  _meta?: {
38
58
  [x: string]: unknown;
39
59
  } | undefined;
@@ -41,6 +61,7 @@ export declare class GuiDeckOverviewTool {
41
61
  src: string;
42
62
  mimeType?: string | undefined;
43
63
  sizes?: string[] | undefined;
64
+ theme?: "light" | "dark" | undefined;
44
65
  }[] | undefined;
45
66
  title?: string | undefined;
46
67
  } | {
@@ -60,12 +81,21 @@ export declare class GuiDeckOverviewTool {
60
81
  [x: string]: unknown;
61
82
  } | undefined;
62
83
  };
84
+ annotations?: {
85
+ audience?: ("user" | "assistant")[] | undefined;
86
+ priority?: number | undefined;
87
+ lastModified?: string | undefined;
88
+ } | undefined;
63
89
  _meta?: {
64
90
  [x: string]: unknown;
65
91
  } | undefined;
66
92
  })[];
67
93
  _meta?: {
68
94
  [x: string]: unknown;
95
+ progressToken?: string | number | undefined;
96
+ "io.modelcontextprotocol/related-task"?: {
97
+ taskId: string;
98
+ } | undefined;
69
99
  } | undefined;
70
100
  structuredContent?: {
71
101
  [x: string]: unknown;
@@ -11,6 +11,11 @@ export declare class GuiEditNoteTool {
11
11
  content: ({
12
12
  type: "text";
13
13
  text: string;
14
+ annotations?: {
15
+ audience?: ("user" | "assistant")[] | undefined;
16
+ priority?: number | undefined;
17
+ lastModified?: string | undefined;
18
+ } | undefined;
14
19
  _meta?: {
15
20
  [x: string]: unknown;
16
21
  } | undefined;
@@ -18,6 +23,11 @@ export declare class GuiEditNoteTool {
18
23
  type: "image";
19
24
  data: string;
20
25
  mimeType: string;
26
+ annotations?: {
27
+ audience?: ("user" | "assistant")[] | undefined;
28
+ priority?: number | undefined;
29
+ lastModified?: string | undefined;
30
+ } | undefined;
21
31
  _meta?: {
22
32
  [x: string]: unknown;
23
33
  } | undefined;
@@ -25,6 +35,11 @@ export declare class GuiEditNoteTool {
25
35
  type: "audio";
26
36
  data: string;
27
37
  mimeType: string;
38
+ annotations?: {
39
+ audience?: ("user" | "assistant")[] | undefined;
40
+ priority?: number | undefined;
41
+ lastModified?: string | undefined;
42
+ } | undefined;
28
43
  _meta?: {
29
44
  [x: string]: unknown;
30
45
  } | undefined;
@@ -34,6 +49,11 @@ export declare class GuiEditNoteTool {
34
49
  type: "resource_link";
35
50
  description?: string | undefined;
36
51
  mimeType?: string | undefined;
52
+ annotations?: {
53
+ audience?: ("user" | "assistant")[] | undefined;
54
+ priority?: number | undefined;
55
+ lastModified?: string | undefined;
56
+ } | undefined;
37
57
  _meta?: {
38
58
  [x: string]: unknown;
39
59
  } | undefined;
@@ -41,6 +61,7 @@ export declare class GuiEditNoteTool {
41
61
  src: string;
42
62
  mimeType?: string | undefined;
43
63
  sizes?: string[] | undefined;
64
+ theme?: "light" | "dark" | undefined;
44
65
  }[] | undefined;
45
66
  title?: string | undefined;
46
67
  } | {
@@ -60,12 +81,21 @@ export declare class GuiEditNoteTool {
60
81
  [x: string]: unknown;
61
82
  } | undefined;
62
83
  };
84
+ annotations?: {
85
+ audience?: ("user" | "assistant")[] | undefined;
86
+ priority?: number | undefined;
87
+ lastModified?: string | undefined;
88
+ } | undefined;
63
89
  _meta?: {
64
90
  [x: string]: unknown;
65
91
  } | undefined;
66
92
  })[];
67
93
  _meta?: {
68
94
  [x: string]: unknown;
95
+ progressToken?: string | number | undefined;
96
+ "io.modelcontextprotocol/related-task"?: {
97
+ taskId: string;
98
+ } | undefined;
69
99
  } | undefined;
70
100
  structuredContent?: {
71
101
  [x: string]: unknown;
@@ -11,6 +11,11 @@ export declare class GuiSelectCardTool {
11
11
  content: ({
12
12
  type: "text";
13
13
  text: string;
14
+ annotations?: {
15
+ audience?: ("user" | "assistant")[] | undefined;
16
+ priority?: number | undefined;
17
+ lastModified?: string | undefined;
18
+ } | undefined;
14
19
  _meta?: {
15
20
  [x: string]: unknown;
16
21
  } | undefined;
@@ -18,6 +23,11 @@ export declare class GuiSelectCardTool {
18
23
  type: "image";
19
24
  data: string;
20
25
  mimeType: string;
26
+ annotations?: {
27
+ audience?: ("user" | "assistant")[] | undefined;
28
+ priority?: number | undefined;
29
+ lastModified?: string | undefined;
30
+ } | undefined;
21
31
  _meta?: {
22
32
  [x: string]: unknown;
23
33
  } | undefined;
@@ -25,6 +35,11 @@ export declare class GuiSelectCardTool {
25
35
  type: "audio";
26
36
  data: string;
27
37
  mimeType: string;
38
+ annotations?: {
39
+ audience?: ("user" | "assistant")[] | undefined;
40
+ priority?: number | undefined;
41
+ lastModified?: string | undefined;
42
+ } | undefined;
28
43
  _meta?: {
29
44
  [x: string]: unknown;
30
45
  } | undefined;
@@ -34,6 +49,11 @@ export declare class GuiSelectCardTool {
34
49
  type: "resource_link";
35
50
  description?: string | undefined;
36
51
  mimeType?: string | undefined;
52
+ annotations?: {
53
+ audience?: ("user" | "assistant")[] | undefined;
54
+ priority?: number | undefined;
55
+ lastModified?: string | undefined;
56
+ } | undefined;
37
57
  _meta?: {
38
58
  [x: string]: unknown;
39
59
  } | undefined;
@@ -41,6 +61,7 @@ export declare class GuiSelectCardTool {
41
61
  src: string;
42
62
  mimeType?: string | undefined;
43
63
  sizes?: string[] | undefined;
64
+ theme?: "light" | "dark" | undefined;
44
65
  }[] | undefined;
45
66
  title?: string | undefined;
46
67
  } | {
@@ -60,12 +81,21 @@ export declare class GuiSelectCardTool {
60
81
  [x: string]: unknown;
61
82
  } | undefined;
62
83
  };
84
+ annotations?: {
85
+ audience?: ("user" | "assistant")[] | undefined;
86
+ priority?: number | undefined;
87
+ lastModified?: string | undefined;
88
+ } | undefined;
63
89
  _meta?: {
64
90
  [x: string]: unknown;
65
91
  } | undefined;
66
92
  })[];
67
93
  _meta?: {
68
94
  [x: string]: unknown;
95
+ progressToken?: string | number | undefined;
96
+ "io.modelcontextprotocol/related-task"?: {
97
+ taskId: string;
98
+ } | undefined;
69
99
  } | undefined;
70
100
  structuredContent?: {
71
101
  [x: string]: unknown;
@@ -9,6 +9,11 @@ export declare class GuiSelectedNotesTool {
9
9
  content: ({
10
10
  type: "text";
11
11
  text: string;
12
+ annotations?: {
13
+ audience?: ("user" | "assistant")[] | undefined;
14
+ priority?: number | undefined;
15
+ lastModified?: string | undefined;
16
+ } | undefined;
12
17
  _meta?: {
13
18
  [x: string]: unknown;
14
19
  } | undefined;
@@ -16,6 +21,11 @@ export declare class GuiSelectedNotesTool {
16
21
  type: "image";
17
22
  data: string;
18
23
  mimeType: string;
24
+ annotations?: {
25
+ audience?: ("user" | "assistant")[] | undefined;
26
+ priority?: number | undefined;
27
+ lastModified?: string | undefined;
28
+ } | undefined;
19
29
  _meta?: {
20
30
  [x: string]: unknown;
21
31
  } | undefined;
@@ -23,6 +33,11 @@ export declare class GuiSelectedNotesTool {
23
33
  type: "audio";
24
34
  data: string;
25
35
  mimeType: string;
36
+ annotations?: {
37
+ audience?: ("user" | "assistant")[] | undefined;
38
+ priority?: number | undefined;
39
+ lastModified?: string | undefined;
40
+ } | undefined;
26
41
  _meta?: {
27
42
  [x: string]: unknown;
28
43
  } | undefined;
@@ -32,6 +47,11 @@ export declare class GuiSelectedNotesTool {
32
47
  type: "resource_link";
33
48
  description?: string | undefined;
34
49
  mimeType?: string | undefined;
50
+ annotations?: {
51
+ audience?: ("user" | "assistant")[] | undefined;
52
+ priority?: number | undefined;
53
+ lastModified?: string | undefined;
54
+ } | undefined;
35
55
  _meta?: {
36
56
  [x: string]: unknown;
37
57
  } | undefined;
@@ -39,6 +59,7 @@ export declare class GuiSelectedNotesTool {
39
59
  src: string;
40
60
  mimeType?: string | undefined;
41
61
  sizes?: string[] | undefined;
62
+ theme?: "light" | "dark" | undefined;
42
63
  }[] | undefined;
43
64
  title?: string | undefined;
44
65
  } | {
@@ -58,12 +79,21 @@ export declare class GuiSelectedNotesTool {
58
79
  [x: string]: unknown;
59
80
  } | undefined;
60
81
  };
82
+ annotations?: {
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
61
87
  _meta?: {
62
88
  [x: string]: unknown;
63
89
  } | undefined;
64
90
  })[];
65
91
  _meta?: {
66
92
  [x: string]: unknown;
93
+ progressToken?: string | number | undefined;
94
+ "io.modelcontextprotocol/related-task"?: {
95
+ taskId: string;
96
+ } | undefined;
67
97
  } | undefined;
68
98
  structuredContent?: {
69
99
  [x: string]: unknown;
@@ -9,6 +9,11 @@ export declare class GuiShowAnswerTool {
9
9
  content: ({
10
10
  type: "text";
11
11
  text: string;
12
+ annotations?: {
13
+ audience?: ("user" | "assistant")[] | undefined;
14
+ priority?: number | undefined;
15
+ lastModified?: string | undefined;
16
+ } | undefined;
12
17
  _meta?: {
13
18
  [x: string]: unknown;
14
19
  } | undefined;
@@ -16,6 +21,11 @@ export declare class GuiShowAnswerTool {
16
21
  type: "image";
17
22
  data: string;
18
23
  mimeType: string;
24
+ annotations?: {
25
+ audience?: ("user" | "assistant")[] | undefined;
26
+ priority?: number | undefined;
27
+ lastModified?: string | undefined;
28
+ } | undefined;
19
29
  _meta?: {
20
30
  [x: string]: unknown;
21
31
  } | undefined;
@@ -23,6 +33,11 @@ export declare class GuiShowAnswerTool {
23
33
  type: "audio";
24
34
  data: string;
25
35
  mimeType: string;
36
+ annotations?: {
37
+ audience?: ("user" | "assistant")[] | undefined;
38
+ priority?: number | undefined;
39
+ lastModified?: string | undefined;
40
+ } | undefined;
26
41
  _meta?: {
27
42
  [x: string]: unknown;
28
43
  } | undefined;
@@ -32,6 +47,11 @@ export declare class GuiShowAnswerTool {
32
47
  type: "resource_link";
33
48
  description?: string | undefined;
34
49
  mimeType?: string | undefined;
50
+ annotations?: {
51
+ audience?: ("user" | "assistant")[] | undefined;
52
+ priority?: number | undefined;
53
+ lastModified?: string | undefined;
54
+ } | undefined;
35
55
  _meta?: {
36
56
  [x: string]: unknown;
37
57
  } | undefined;
@@ -39,6 +59,7 @@ export declare class GuiShowAnswerTool {
39
59
  src: string;
40
60
  mimeType?: string | undefined;
41
61
  sizes?: string[] | undefined;
62
+ theme?: "light" | "dark" | undefined;
42
63
  }[] | undefined;
43
64
  title?: string | undefined;
44
65
  } | {
@@ -58,12 +79,21 @@ export declare class GuiShowAnswerTool {
58
79
  [x: string]: unknown;
59
80
  } | undefined;
60
81
  };
82
+ annotations?: {
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
61
87
  _meta?: {
62
88
  [x: string]: unknown;
63
89
  } | undefined;
64
90
  })[];
65
91
  _meta?: {
66
92
  [x: string]: unknown;
93
+ progressToken?: string | number | undefined;
94
+ "io.modelcontextprotocol/related-task"?: {
95
+ taskId: string;
96
+ } | undefined;
67
97
  } | undefined;
68
98
  structuredContent?: {
69
99
  [x: string]: unknown;
@@ -9,6 +9,11 @@ export declare class GuiShowQuestionTool {
9
9
  content: ({
10
10
  type: "text";
11
11
  text: string;
12
+ annotations?: {
13
+ audience?: ("user" | "assistant")[] | undefined;
14
+ priority?: number | undefined;
15
+ lastModified?: string | undefined;
16
+ } | undefined;
12
17
  _meta?: {
13
18
  [x: string]: unknown;
14
19
  } | undefined;
@@ -16,6 +21,11 @@ export declare class GuiShowQuestionTool {
16
21
  type: "image";
17
22
  data: string;
18
23
  mimeType: string;
24
+ annotations?: {
25
+ audience?: ("user" | "assistant")[] | undefined;
26
+ priority?: number | undefined;
27
+ lastModified?: string | undefined;
28
+ } | undefined;
19
29
  _meta?: {
20
30
  [x: string]: unknown;
21
31
  } | undefined;
@@ -23,6 +33,11 @@ export declare class GuiShowQuestionTool {
23
33
  type: "audio";
24
34
  data: string;
25
35
  mimeType: string;
36
+ annotations?: {
37
+ audience?: ("user" | "assistant")[] | undefined;
38
+ priority?: number | undefined;
39
+ lastModified?: string | undefined;
40
+ } | undefined;
26
41
  _meta?: {
27
42
  [x: string]: unknown;
28
43
  } | undefined;
@@ -32,6 +47,11 @@ export declare class GuiShowQuestionTool {
32
47
  type: "resource_link";
33
48
  description?: string | undefined;
34
49
  mimeType?: string | undefined;
50
+ annotations?: {
51
+ audience?: ("user" | "assistant")[] | undefined;
52
+ priority?: number | undefined;
53
+ lastModified?: string | undefined;
54
+ } | undefined;
35
55
  _meta?: {
36
56
  [x: string]: unknown;
37
57
  } | undefined;
@@ -39,6 +59,7 @@ export declare class GuiShowQuestionTool {
39
59
  src: string;
40
60
  mimeType?: string | undefined;
41
61
  sizes?: string[] | undefined;
62
+ theme?: "light" | "dark" | undefined;
42
63
  }[] | undefined;
43
64
  title?: string | undefined;
44
65
  } | {
@@ -58,12 +79,21 @@ export declare class GuiShowQuestionTool {
58
79
  [x: string]: unknown;
59
80
  } | undefined;
60
81
  };
82
+ annotations?: {
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
61
87
  _meta?: {
62
88
  [x: string]: unknown;
63
89
  } | undefined;
64
90
  })[];
65
91
  _meta?: {
66
92
  [x: string]: unknown;
93
+ progressToken?: string | number | undefined;
94
+ "io.modelcontextprotocol/related-task"?: {
95
+ taskId: string;
96
+ } | undefined;
67
97
  } | undefined;
68
98
  structuredContent?: {
69
99
  [x: string]: unknown;