google-mcp-suite 1.2.0 → 1.3.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 (231) hide show
  1. package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -1
  2. package/dist/calendar/methods/add_calendar_entry/index.js +6 -0
  3. package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -1
  4. package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -1
  5. package/dist/calendar/methods/clear_calendar/index.js +6 -1
  6. package/dist/calendar/methods/clear_calendar/index.js.map +1 -1
  7. package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -1
  8. package/dist/calendar/methods/create_calendar/index.js +6 -0
  9. package/dist/calendar/methods/create_calendar/index.js.map +1 -1
  10. package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -1
  11. package/dist/calendar/methods/delete_calendar/index.js +6 -1
  12. package/dist/calendar/methods/delete_calendar/index.js.map +1 -1
  13. package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -1
  14. package/dist/calendar/methods/get_calendar/index.js +6 -0
  15. package/dist/calendar/methods/get_calendar/index.js.map +1 -1
  16. package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -1
  17. package/dist/calendar/methods/get_calendar_entry/index.js +6 -0
  18. package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -1
  19. package/dist/calendar/methods/get_colors/index.d.ts.map +1 -1
  20. package/dist/calendar/methods/get_colors/index.js +6 -0
  21. package/dist/calendar/methods/get_colors/index.js.map +1 -1
  22. package/dist/calendar/methods/get_setting/index.d.ts.map +1 -1
  23. package/dist/calendar/methods/get_setting/index.js +6 -0
  24. package/dist/calendar/methods/get_setting/index.js.map +1 -1
  25. package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -1
  26. package/dist/calendar/methods/list_event_instances/index.js +6 -0
  27. package/dist/calendar/methods/list_event_instances/index.js.map +1 -1
  28. package/dist/calendar/methods/list_settings/index.d.ts.map +1 -1
  29. package/dist/calendar/methods/list_settings/index.js +6 -0
  30. package/dist/calendar/methods/list_settings/index.js.map +1 -1
  31. package/dist/calendar/methods/move_event/index.d.ts.map +1 -1
  32. package/dist/calendar/methods/move_event/index.js +6 -0
  33. package/dist/calendar/methods/move_event/index.js.map +1 -1
  34. package/dist/calendar/methods/patch_event/index.d.ts.map +1 -1
  35. package/dist/calendar/methods/patch_event/index.js +6 -0
  36. package/dist/calendar/methods/patch_event/index.js.map +1 -1
  37. package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -1
  38. package/dist/calendar/methods/query_free_busy/index.js +6 -0
  39. package/dist/calendar/methods/query_free_busy/index.js.map +1 -1
  40. package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -1
  41. package/dist/calendar/methods/quick_add_event/index.js +6 -0
  42. package/dist/calendar/methods/quick_add_event/index.js.map +1 -1
  43. package/dist/calendar/methods/remove_calendar_entry/index.d.ts +2 -1
  44. package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -1
  45. package/dist/calendar/methods/remove_calendar_entry/index.js +8 -1
  46. package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -1
  47. package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -1
  48. package/dist/calendar/methods/update_calendar/index.js +6 -0
  49. package/dist/calendar/methods/update_calendar/index.js.map +1 -1
  50. package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -1
  51. package/dist/calendar/methods/update_calendar_entry/index.js +6 -0
  52. package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -1
  53. package/dist/calendar/tools/create_event/index.d.ts.map +1 -1
  54. package/dist/calendar/tools/create_event/index.js +6 -0
  55. package/dist/calendar/tools/create_event/index.js.map +1 -1
  56. package/dist/calendar/tools/delete_event/index.d.ts.map +1 -1
  57. package/dist/calendar/tools/delete_event/index.js +6 -1
  58. package/dist/calendar/tools/delete_event/index.js.map +1 -1
  59. package/dist/calendar/tools/get_event/index.d.ts.map +1 -1
  60. package/dist/calendar/tools/get_event/index.js +6 -0
  61. package/dist/calendar/tools/get_event/index.js.map +1 -1
  62. package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -1
  63. package/dist/calendar/tools/list_calendars/index.js +6 -0
  64. package/dist/calendar/tools/list_calendars/index.js.map +1 -1
  65. package/dist/calendar/tools/list_events/index.d.ts.map +1 -1
  66. package/dist/calendar/tools/list_events/index.js +6 -0
  67. package/dist/calendar/tools/list_events/index.js.map +1 -1
  68. package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -1
  69. package/dist/calendar/tools/respond_to_event/index.js +6 -0
  70. package/dist/calendar/tools/respond_to_event/index.js.map +1 -1
  71. package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -1
  72. package/dist/calendar/tools/suggest_time/index.js +6 -0
  73. package/dist/calendar/tools/suggest_time/index.js.map +1 -1
  74. package/dist/calendar/tools/update_event/index.d.ts.map +1 -1
  75. package/dist/calendar/tools/update_event/index.js +6 -0
  76. package/dist/calendar/tools/update_event/index.js.map +1 -1
  77. package/dist/gmail/methods/batch_delete_messages/index.d.ts.map +1 -1
  78. package/dist/gmail/methods/batch_delete_messages/index.js +6 -1
  79. package/dist/gmail/methods/batch_delete_messages/index.js.map +1 -1
  80. package/dist/gmail/methods/batch_modify_messages/index.d.ts.map +1 -1
  81. package/dist/gmail/methods/batch_modify_messages/index.js +6 -0
  82. package/dist/gmail/methods/batch_modify_messages/index.js.map +1 -1
  83. package/dist/gmail/methods/create_filter/index.d.ts.map +1 -1
  84. package/dist/gmail/methods/create_filter/index.js +6 -1
  85. package/dist/gmail/methods/create_filter/index.js.map +1 -1
  86. package/dist/gmail/methods/delete_draft/index.d.ts +2 -1
  87. package/dist/gmail/methods/delete_draft/index.d.ts.map +1 -1
  88. package/dist/gmail/methods/delete_draft/index.js +8 -1
  89. package/dist/gmail/methods/delete_draft/index.js.map +1 -1
  90. package/dist/gmail/methods/delete_filter/index.d.ts +2 -1
  91. package/dist/gmail/methods/delete_filter/index.d.ts.map +1 -1
  92. package/dist/gmail/methods/delete_filter/index.js +8 -1
  93. package/dist/gmail/methods/delete_filter/index.js.map +1 -1
  94. package/dist/gmail/methods/delete_label/index.d.ts +2 -2
  95. package/dist/gmail/methods/delete_label/index.d.ts.map +1 -1
  96. package/dist/gmail/methods/delete_label/index.js +8 -2
  97. package/dist/gmail/methods/delete_label/index.js.map +1 -1
  98. package/dist/gmail/methods/delete_message/index.d.ts.map +1 -1
  99. package/dist/gmail/methods/delete_message/index.js +6 -1
  100. package/dist/gmail/methods/delete_message/index.js.map +1 -1
  101. package/dist/gmail/methods/delete_thread/index.d.ts.map +1 -1
  102. package/dist/gmail/methods/delete_thread/index.js +6 -1
  103. package/dist/gmail/methods/delete_thread/index.js.map +1 -1
  104. package/dist/gmail/methods/download_attachment/index.d.ts.map +1 -1
  105. package/dist/gmail/methods/download_attachment/index.js +6 -0
  106. package/dist/gmail/methods/download_attachment/index.js.map +1 -1
  107. package/dist/gmail/methods/get_draft/index.d.ts.map +1 -1
  108. package/dist/gmail/methods/get_draft/index.js +6 -0
  109. package/dist/gmail/methods/get_draft/index.js.map +1 -1
  110. package/dist/gmail/methods/get_filter/index.d.ts.map +1 -1
  111. package/dist/gmail/methods/get_filter/index.js +6 -0
  112. package/dist/gmail/methods/get_filter/index.js.map +1 -1
  113. package/dist/gmail/methods/get_label/index.d.ts.map +1 -1
  114. package/dist/gmail/methods/get_label/index.js +6 -0
  115. package/dist/gmail/methods/get_label/index.js.map +1 -1
  116. package/dist/gmail/methods/get_message/index.d.ts.map +1 -1
  117. package/dist/gmail/methods/get_message/index.js +6 -0
  118. package/dist/gmail/methods/get_message/index.js.map +1 -1
  119. package/dist/gmail/methods/list_filters/index.d.ts.map +1 -1
  120. package/dist/gmail/methods/list_filters/index.js +6 -0
  121. package/dist/gmail/methods/list_filters/index.js.map +1 -1
  122. package/dist/gmail/methods/list_messages/index.d.ts.map +1 -1
  123. package/dist/gmail/methods/list_messages/index.js +6 -0
  124. package/dist/gmail/methods/list_messages/index.js.map +1 -1
  125. package/dist/gmail/methods/send_draft/index.d.ts.map +1 -1
  126. package/dist/gmail/methods/send_draft/index.js +6 -1
  127. package/dist/gmail/methods/send_draft/index.js.map +1 -1
  128. package/dist/gmail/methods/send_message/index.d.ts.map +1 -1
  129. package/dist/gmail/methods/send_message/index.js +6 -1
  130. package/dist/gmail/methods/send_message/index.js.map +1 -1
  131. package/dist/gmail/methods/trash_message/index.d.ts.map +1 -1
  132. package/dist/gmail/methods/trash_message/index.js +6 -0
  133. package/dist/gmail/methods/trash_message/index.js.map +1 -1
  134. package/dist/gmail/methods/trash_thread/index.d.ts.map +1 -1
  135. package/dist/gmail/methods/trash_thread/index.js +6 -0
  136. package/dist/gmail/methods/trash_thread/index.js.map +1 -1
  137. package/dist/gmail/methods/untrash_message/index.d.ts.map +1 -1
  138. package/dist/gmail/methods/untrash_message/index.js +6 -0
  139. package/dist/gmail/methods/untrash_message/index.js.map +1 -1
  140. package/dist/gmail/methods/untrash_thread/index.d.ts.map +1 -1
  141. package/dist/gmail/methods/untrash_thread/index.js +6 -0
  142. package/dist/gmail/methods/untrash_thread/index.js.map +1 -1
  143. package/dist/gmail/methods/update_draft/index.d.ts.map +1 -1
  144. package/dist/gmail/methods/update_draft/index.js +6 -0
  145. package/dist/gmail/methods/update_draft/index.js.map +1 -1
  146. package/dist/gmail/methods/update_label/index.d.ts.map +1 -1
  147. package/dist/gmail/methods/update_label/index.js +6 -0
  148. package/dist/gmail/methods/update_label/index.js.map +1 -1
  149. package/dist/gmail/tools/create_draft/index.d.ts.map +1 -1
  150. package/dist/gmail/tools/create_draft/index.js +6 -0
  151. package/dist/gmail/tools/create_draft/index.js.map +1 -1
  152. package/dist/gmail/tools/create_label/index.d.ts.map +1 -1
  153. package/dist/gmail/tools/create_label/index.js +6 -0
  154. package/dist/gmail/tools/create_label/index.js.map +1 -1
  155. package/dist/gmail/tools/get_thread/index.d.ts.map +1 -1
  156. package/dist/gmail/tools/get_thread/index.js +6 -0
  157. package/dist/gmail/tools/get_thread/index.js.map +1 -1
  158. package/dist/gmail/tools/label_message/index.d.ts.map +1 -1
  159. package/dist/gmail/tools/label_message/index.js +6 -0
  160. package/dist/gmail/tools/label_message/index.js.map +1 -1
  161. package/dist/gmail/tools/label_thread/index.d.ts.map +1 -1
  162. package/dist/gmail/tools/label_thread/index.js +6 -0
  163. package/dist/gmail/tools/label_thread/index.js.map +1 -1
  164. package/dist/gmail/tools/list_drafts/index.d.ts.map +1 -1
  165. package/dist/gmail/tools/list_drafts/index.js +10 -0
  166. package/dist/gmail/tools/list_drafts/index.js.map +1 -1
  167. package/dist/gmail/tools/list_labels/index.d.ts.map +1 -1
  168. package/dist/gmail/tools/list_labels/index.js +6 -0
  169. package/dist/gmail/tools/list_labels/index.js.map +1 -1
  170. package/dist/gmail/tools/search_threads/index.d.ts.map +1 -1
  171. package/dist/gmail/tools/search_threads/index.js +6 -0
  172. package/dist/gmail/tools/search_threads/index.js.map +1 -1
  173. package/dist/gmail/tools/unlabel_message/index.d.ts.map +1 -1
  174. package/dist/gmail/tools/unlabel_message/index.js +6 -0
  175. package/dist/gmail/tools/unlabel_message/index.js.map +1 -1
  176. package/dist/gmail/tools/unlabel_thread/index.d.ts.map +1 -1
  177. package/dist/gmail/tools/unlabel_thread/index.js +6 -0
  178. package/dist/gmail/tools/unlabel_thread/index.js.map +1 -1
  179. package/dist/lib/operation.d.ts +45 -3
  180. package/dist/lib/operation.d.ts.map +1 -1
  181. package/dist/lib/operation.js.map +1 -1
  182. package/dist/lib/server.d.ts +1 -3
  183. package/dist/lib/server.d.ts.map +1 -1
  184. package/dist/lib/server.js +2 -2
  185. package/dist/lib/server.js.map +1 -1
  186. package/dist/sheets/methods/append_values/index.d.ts.map +1 -1
  187. package/dist/sheets/methods/append_values/index.js +6 -0
  188. package/dist/sheets/methods/append_values/index.js.map +1 -1
  189. package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -1
  190. package/dist/sheets/methods/batch_clear_values/index.js +6 -1
  191. package/dist/sheets/methods/batch_clear_values/index.js.map +1 -1
  192. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -1
  193. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +6 -1
  194. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -1
  195. package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -1
  196. package/dist/sheets/methods/batch_get_values/index.js +6 -0
  197. package/dist/sheets/methods/batch_get_values/index.js.map +1 -1
  198. package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -1
  199. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +6 -0
  200. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -1
  201. package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -1
  202. package/dist/sheets/methods/batch_update_values/index.js +6 -0
  203. package/dist/sheets/methods/batch_update_values/index.js.map +1 -1
  204. package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -1
  205. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +6 -0
  206. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -1
  207. package/dist/sheets/methods/clear_values/index.d.ts.map +1 -1
  208. package/dist/sheets/methods/clear_values/index.js +6 -1
  209. package/dist/sheets/methods/clear_values/index.js.map +1 -1
  210. package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -1
  211. package/dist/sheets/methods/copy_sheet/index.js +6 -0
  212. package/dist/sheets/methods/copy_sheet/index.js.map +1 -1
  213. package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -1
  214. package/dist/sheets/methods/create_spreadsheet/index.js +6 -0
  215. package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -1
  216. package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -1
  217. package/dist/sheets/methods/get_developer_metadata/index.js +6 -0
  218. package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -1
  219. package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -1
  220. package/dist/sheets/methods/get_spreadsheet/index.js +6 -0
  221. package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -1
  222. package/dist/sheets/methods/get_values/index.d.ts.map +1 -1
  223. package/dist/sheets/methods/get_values/index.js +6 -0
  224. package/dist/sheets/methods/get_values/index.js.map +1 -1
  225. package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -1
  226. package/dist/sheets/methods/search_developer_metadata/index.js +6 -0
  227. package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -1
  228. package/dist/sheets/methods/update_values/index.d.ts.map +1 -1
  229. package/dist/sheets/methods/update_values/index.js +6 -0
  230. package/dist/sheets/methods/update_values/index.js.map +1 -1
  231. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/get_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,6BAA6B;IAC1C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get\n * Fetches a single message and projects it. MINIMAL maps to `metadata`,\n * FULL_CONTENT (default) maps to `full` (decoded body + attachment ids).\n */\nexport const get_message = gmailOperation({\n description: 'Get a single message by id.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/get_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/get\n * Fetches a single message and projects it. MINIMAL maps to `metadata`,\n * FULL_CONTENT (default) maps to `full` (decoded body + attachment ids).\n */\nexport const get_message = gmailOperation({\n description: 'Get a single message by id.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAIA,8GAA8G;AAC9G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAIA,8GAA8G;AAC9G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -4,6 +4,12 @@ import { schema } from './schema.js';
4
4
  /** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */
5
5
  export const list_filters = gmailOperation({
6
6
  description: 'List all filters for the account.',
7
+ annotations: {
8
+ readOnlyHint: true,
9
+ destructiveHint: false,
10
+ idempotentHint: true,
11
+ openWorldHint: false,
12
+ },
7
13
  schema,
8
14
  handler,
9
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,8GAA8G;AAC9G,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */\nexport const list_filters = gmailOperation({\n description: 'List all filters for the account.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_filters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,8GAA8G;AAC9G,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.settings.filters/list */\nexport const list_filters = gmailOperation({\n description: 'List all filters for the account.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUxB,CAAC"}
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
8
8
  */
9
9
  export const list_messages = gmailOperation({
10
10
  description: 'List messages using Gmail query syntax.',
11
+ annotations: {
12
+ readOnlyHint: true,
13
+ destructiveHint: false,
14
+ idempotentHint: true,
15
+ openWorldHint: false,
16
+ },
11
17
  schema,
12
18
  handler,
13
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,yCAAyC;IACtD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list\n * Lists message stubs, then fetches each with `metadata` format (headers +\n * snippet) for the projection. Use get_message for a full body.\n */\nexport const list_messages = gmailOperation({\n description: 'List messages using Gmail query syntax.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/list_messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,yCAAyC;IACtD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/list\n * Lists message stubs, then fetches each with `metadata` format (headers +\n * snippet) for the projection. Use get_message for a full body.\n */\nexport const list_messages = gmailOperation({\n description: 'List messages using Gmail query syntax.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;iCAKrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;iCAUrB,CAAC"}
@@ -9,7 +9,12 @@ import { schema } from './schema.js';
9
9
  */
10
10
  export const send_draft = gmailOperation({
11
11
  description: 'Send an existing draft.',
12
- destructive: true,
12
+ annotations: {
13
+ readOnlyHint: false,
14
+ destructiveHint: true,
15
+ idempotentHint: false,
16
+ openWorldHint: true,
17
+ },
13
18
  schema,
14
19
  handler,
15
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,IAAI;IACjB,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/send\n *\n * Irreversible: sends an existing draft, which deletes the draft and creates a\n * message with the SENT label. Returns the sent message.\n */\nexport const send_draft = gmailOperation({\n description: 'Send an existing draft.',\n destructive: true,\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;KACpB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/send\n *\n * Irreversible: sends an existing draft, which deletes the draft and creates a\n * message with the SENT label. Returns the sent message.\n */\nexport const send_draft = gmailOperation({\n description: 'Send an existing draft.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: false,\n openWorldHint: true,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAKvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -10,7 +10,12 @@ import { schema } from './schema.js';
10
10
  */
11
11
  export const send_message = gmailOperation({
12
12
  description: 'Send an email immediately.',
13
- destructive: true,
13
+ annotations: {
14
+ readOnlyHint: false,
15
+ destructiveHint: true,
16
+ idempotentHint: false,
17
+ openWorldHint: true,
18
+ },
14
19
  schema,
15
20
  handler,
16
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE,IAAI;IACjB,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send\n *\n * Irreversible: assembles an RFC 822 message and sends it immediately. When\n * `replyToMessageId` is given, the original is fetched for its thread and\n * Message-ID so the reply threads correctly.\n */\nexport const send_message = gmailOperation({\n description: 'Send an email immediately.',\n destructive: true,\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/send_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,4BAA4B;IACzC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;KACpB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send\n *\n * Irreversible: assembles an RFC 822 message and sends it immediately. When\n * `replyToMessageId` is given, the original is fetched for its thread and\n * Message-ID so the reply threads correctly.\n */\nexport const send_message = gmailOperation({\n description: 'Send an email immediately.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: false,\n openWorldHint: true,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;iCAIxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;iCAUxB,CAAC"}
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
7
7
  */
8
8
  export const trash_message = gmailOperation({
9
9
  description: 'Move a message to the trash.',
10
+ annotations: {
11
+ readOnlyHint: false,
12
+ destructiveHint: true,
13
+ idempotentHint: true,
14
+ openWorldHint: false,
15
+ },
10
16
  schema,
11
17
  handler,
12
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,8BAA8B;IAC3C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash\n * Reversible: moves a message to the trash (undo with untrash_message).\n */\nexport const trash_message = gmailOperation({\n description: 'Move a message to the trash.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/trash\n * Reversible: moves a message to the trash (undo with untrash_message).\n */\nexport const trash_message = gmailOperation({\n description: 'Move a message to the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
7
7
  */
8
8
  export const trash_thread = gmailOperation({
9
9
  description: 'Move a thread to the trash.',
10
+ annotations: {
11
+ readOnlyHint: false,
12
+ destructiveHint: true,
13
+ idempotentHint: true,
14
+ openWorldHint: false,
15
+ },
10
16
  schema,
11
17
  handler,
12
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,6BAA6B;IAC1C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash\n * Reversible: moves every message in a thread to the trash (undo with untrash_thread).\n */\nexport const trash_thread = gmailOperation({\n description: 'Move a thread to the trash.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/trash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/trash\n * Reversible: moves every message in a thread to the trash (undo with untrash_thread).\n */\nexport const trash_thread = gmailOperation({\n description: 'Move a thread to the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;iCAI1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;iCAU1B,CAAC"}
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
7
7
  */
8
8
  export const untrash_message = gmailOperation({
9
9
  description: 'Remove a message from the trash.',
10
+ annotations: {
11
+ readOnlyHint: false,
12
+ destructiveHint: false,
13
+ idempotentHint: true,
14
+ openWorldHint: false,
15
+ },
10
16
  schema,
11
17
  handler,
12
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,kCAAkC;IAC/C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash\n * Reversible: removes a message from the trash.\n */\nexport const untrash_message = gmailOperation({\n description: 'Remove a message from the trash.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,kCAAkC;IAC/C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/untrash\n * Reversible: removes a message from the trash.\n */\nexport const untrash_message = gmailOperation({\n description: 'Remove a message from the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUzB,CAAC"}
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
7
7
  */
8
8
  export const untrash_thread = gmailOperation({
9
9
  description: 'Remove a thread from the trash.',
10
+ annotations: {
11
+ readOnlyHint: false,
12
+ destructiveHint: false,
13
+ idempotentHint: true,
14
+ openWorldHint: false,
15
+ },
10
16
  schema,
11
17
  handler,
12
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,iCAAiC;IAC9C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash\n * Reversible: removes every message in a thread from the trash.\n */\nexport const untrash_thread = gmailOperation({\n description: 'Remove a thread from the trash.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/untrash_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.threads/untrash\n * Reversible: removes every message in a thread from the trash.\n */\nexport const untrash_thread = gmailOperation({\n description: 'Remove a thread from the trash.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
8
8
  */
9
9
  export const update_draft = gmailOperation({
10
10
  description: 'Replace the content of an existing draft.',
11
+ annotations: {
12
+ readOnlyHint: false,
13
+ destructiveHint: false,
14
+ idempotentHint: true,
15
+ openWorldHint: false,
16
+ },
11
17
  schema,
12
18
  handler,
13
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,2CAA2C;IACxD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update\n * Replaces the draft's content with a freshly assembled message, then re-fetches\n * it `full` for projection.\n */\nexport const update_draft = gmailOperation({\n description: 'Replace the content of an existing draft.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,2CAA2C;IACxD,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.drafts/update\n * Replaces the draft's content with a freshly assembled message, then re-fetches\n * it `full` for projection.\n */\nexport const update_draft = gmailOperation({\n description: 'Replace the content of an existing draft.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -7,6 +7,12 @@ import { schema } from './schema.js';
7
7
  */
8
8
  export const update_label = gmailOperation({
9
9
  description: 'Update a label name and/or color.',
10
+ annotations: {
11
+ readOnlyHint: false,
12
+ destructiveHint: false,
13
+ idempotentHint: true,
14
+ openWorldHint: false,
15
+ },
10
16
  schema,
11
17
  handler,
12
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch\n * Patches name and/or color of a user label.\n */\nexport const update_label = gmailOperation({\n description: 'Update a label name and/or color.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/methods/update_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.labels/patch\n * Patches name and/or color of a user label.\n */\nexport const update_label = gmailOperation({\n description: 'Update a label name and/or color.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
10
10
  */
11
11
  export const create_draft = gmailOperation({
12
12
  description: 'Create a draft email.',
13
+ annotations: {
14
+ readOnlyHint: false,
15
+ destructiveHint: false,
16
+ idempotentHint: false,
17
+ openWorldHint: false,
18
+ },
13
19
  schema,
14
20
  handler,
15
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,uBAAuB;IACpC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_draft\n *\n * Assembles an RFC 822 message and creates a draft. When `replyToMessageId` is\n * given, the original is fetched for its thread and Message-ID so the draft\n * threads correctly. The created draft is re-fetched `full` for projection.\n */\nexport const create_draft = gmailOperation({\n description: 'Create a draft email.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_draft\n *\n * Assembles an RFC 822 message and creates a draft. When `replyToMessageId` is\n * given, the original is fetched for its thread and Message-ID so the draft\n * threads correctly. The created draft is re-fetched `full` for projection.\n */\nexport const create_draft = gmailOperation({\n description: 'Create a draft email.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: false,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;iCAUvB,CAAC"}
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
9
9
  */
10
10
  export const create_label = gmailOperation({
11
11
  description: 'Create a new label.',
12
+ annotations: {
13
+ readOnlyHint: false,
14
+ destructiveHint: false,
15
+ idempotentHint: false,
16
+ openWorldHint: false,
17
+ },
12
18
  schema,
13
19
  handler,
14
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,qBAAqB;IAClC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_label\n *\n * Creates a user label via `users.labels.create` and projects the result\n * (id -> labelId). `displayName` maps to the REST `name`.\n */\nexport const create_label = gmailOperation({\n description: 'Create a new label.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/create_label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/create_label\n *\n * Creates a user label via `users.labels.create` and projects the result\n * (id -> labelId). `displayName` maps to the REST `name`.\n */\nexport const create_label = gmailOperation({\n description: 'Create a new label.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: false,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUrB,CAAC"}
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
10
10
  */
11
11
  export const get_thread = gmailOperation({
12
12
  description: 'Get a thread and its messages by id.',
13
+ annotations: {
14
+ readOnlyHint: true,
15
+ destructiveHint: false,
16
+ idempotentHint: true,
17
+ openWorldHint: false,
18
+ },
13
19
  schema,
14
20
  handler,
15
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,sCAAsC;IACnD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/get_thread\n *\n * MINIMAL maps to the REST `metadata` format (headers + snippet); FULL_CONTENT\n * (the default) maps to `full`, which carries the MIME tree projected to\n * plaintext bodies and attachment ids.\n */\nexport const get_thread = gmailOperation({\n description: 'Get a thread and its messages by id.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/get_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC;IACvC,WAAW,EAAE,sCAAsC;IACnD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/get_thread\n *\n * MINIMAL maps to the REST `metadata` format (headers + snippet); FULL_CONTENT\n * (the default) maps to `full`, which carries the MIME tree projected to\n * plaintext bodies and attachment ids.\n */\nexport const get_thread = gmailOperation({\n description: 'Get a thread and its messages by id.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;iCAIxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;iCAUxB,CAAC"}
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
9
9
  */
10
10
  export const label_message = gmailOperation({
11
11
  description: 'Add labels to a message.',
12
+ annotations: {
13
+ readOnlyHint: false,
14
+ destructiveHint: false,
15
+ idempotentHint: true,
16
+ openWorldHint: false,
17
+ },
12
18
  schema,
13
19
  handler,
14
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,0BAA0B;IACvC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_message\n * Adds labels via `users.messages.modify` (addLabelIds); confirms the applied\n * labels. (Matches `label_thread`, whose thread response carries no single label\n * set, so both tools report the labels acted on rather than the resulting state.)\n */\nexport const label_message = gmailOperation({\n description: 'Add labels to a message.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;IAC1C,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_message\n * Adds labels via `users.messages.modify` (addLabelIds); confirms the applied\n * labels. (Matches `label_thread`, whose thread response carries no single label\n * set, so both tools report the labels acted on rather than the resulting state.)\n */\nexport const label_message = gmailOperation({\n description: 'Add labels to a message.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;iCAIvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;iCAUvB,CAAC"}
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
8
8
  */
9
9
  export const label_thread = gmailOperation({
10
10
  description: 'Add labels to a thread.',
11
+ annotations: {
12
+ readOnlyHint: false,
13
+ destructiveHint: false,
14
+ idempotentHint: true,
15
+ openWorldHint: false,
16
+ },
11
17
  schema,
12
18
  handler,
13
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,yBAAyB;IACtC,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_thread\n * Adds labels to every message in a thread via `users.threads.modify`\n * (addLabelIds); confirms the applied labels.\n */\nexport const label_thread = gmailOperation({\n description: 'Add labels to a thread.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/label_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/label_thread\n * Adds labels to every message in a thread via `users.threads.modify`\n * (addLabelIds); confirms the applied labels.\n */\nexport const label_thread = gmailOperation({\n description: 'Add labels to a thread.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iCAItB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iCActB,CAAC"}
@@ -9,6 +9,16 @@ import { schema } from './schema.js';
9
9
  */
10
10
  export const list_drafts = gmailOperation({
11
11
  description: 'List draft messages, with optional Gmail query filtering.',
12
+ // Deviation: Google's page marks all four hints false, contradicting its
13
+ // sibling list operations (list_labels, search_threads are read-only); a
14
+ // list cannot modify the account, so this transcribes the corrected values.
15
+ // See COVERAGE.md.
16
+ annotations: {
17
+ readOnlyHint: true,
18
+ destructiveHint: false,
19
+ idempotentHint: true,
20
+ openWorldHint: false,
21
+ },
12
22
  schema,
13
23
  handler,
14
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,2DAA2D;IACxE,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_drafts\n *\n * `users.drafts.list` returns id + message stubs; each draft is fetched `full`\n * so the projection can populate subject, recipients, and the body.\n */\nexport const list_drafts = gmailOperation({\n description: 'List draft messages, with optional Gmail query filtering.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_drafts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,2DAA2D;IACxE,yEAAyE;IACzE,yEAAyE;IACzE,4EAA4E;IAC5E,mBAAmB;IACnB,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_drafts\n *\n * `users.drafts.list` returns id + message stubs; each draft is fetched `full`\n * so the projection can populate subject, recipients, and the body.\n */\nexport const list_drafts = gmailOperation({\n description: 'List draft messages, with optional Gmail query filtering.',\n // Deviation: Google's page marks all four hints false, contradicting its\n // sibling list operations (list_labels, search_threads are read-only); a\n // list cannot modify the account, so this transcribes the corrected values.\n // See COVERAGE.md.\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;iCAItB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;iCAUtB,CAAC"}
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
10
10
  */
11
11
  export const list_labels = gmailOperation({
12
12
  description: 'List the labels in the mailbox.',
13
+ annotations: {
14
+ readOnlyHint: true,
15
+ destructiveHint: false,
16
+ idempotentHint: true,
17
+ openWorldHint: false,
18
+ },
13
19
  schema,
14
20
  handler,
15
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,iCAAiC;IAC9C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_labels\n *\n * The REST `users.labels.list` returns every label in one call (no paging) with\n * basic fields; `color` and the thread counts are populated only when present.\n * The projection renames `id` -> `labelId` to match the documented shape.\n */\nexport const list_labels = gmailOperation({\n description: 'List the labels in the mailbox.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/list_labels/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/list_labels\n *\n * The REST `users.labels.list` returns every label in one call (no paging) with\n * basic fields; `color` and the thread counts are populated only when present.\n * The projection renames `id` -> `labelId` to match the documented shape.\n */\nexport const list_labels = gmailOperation({\n description: 'List the labels in the mailbox.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUzB,CAAC"}
@@ -10,6 +10,12 @@ import { schema } from './schema.js';
10
10
  */
11
11
  export const search_threads = gmailOperation({
12
12
  description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',
13
+ annotations: {
14
+ readOnlyHint: true,
15
+ destructiveHint: false,
16
+ idempotentHint: true,
17
+ openWorldHint: false,
18
+ },
13
19
  schema,
14
20
  handler,
15
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,+EAA+E;IAC5F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/search_threads\n *\n * One `users.threads.list` call: returns thread ids and the snippet the list\n * response already carries, with no per-thread fetch. Use `get_thread(id)` to\n * hydrate a thread's full messages on demand.\n */\nexport const search_threads = gmailOperation({\n description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/search_threads/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,+EAA+E;IAC5F,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/search_threads\n *\n * One `users.threads.list` call: returns thread ids and the snippet the list\n * response already carries, with no per-thread fetch. Use `get_thread(id)` to\n * hydrate a thread's full messages on demand.\n */\nexport const search_threads = gmailOperation({\n description: 'Search threads. Returns thread ids and snippets; use get_thread for messages.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;iCAI1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;iCAU1B,CAAC"}
@@ -9,6 +9,12 @@ import { schema } from './schema.js';
9
9
  */
10
10
  export const unlabel_message = gmailOperation({
11
11
  description: 'Remove labels from a message.',
12
+ annotations: {
13
+ readOnlyHint: false,
14
+ destructiveHint: true,
15
+ idempotentHint: true,
16
+ openWorldHint: false,
17
+ },
12
18
  schema,
13
19
  handler,
14
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,+BAA+B;IAC5C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_message\n * Removes labels via `users.messages.modify` (removeLabelIds); confirms the\n * removed labels. (Matches `unlabel_thread`, whose thread response carries no\n * single label set, so both tools report the labels acted on.)\n */\nexport const unlabel_message = gmailOperation({\n description: 'Remove labels from a message.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EAAE,+BAA+B;IAC5C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_message\n * Removes labels via `users.messages.modify` (removeLabelIds); confirms the\n * removed labels. (Matches `unlabel_thread`, whose thread response carries no\n * single label set, so both tools report the labels acted on.)\n */\nexport const unlabel_message = gmailOperation({\n description: 'Remove labels from a message.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;iCAIzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;iCAUzB,CAAC"}
@@ -8,6 +8,12 @@ import { schema } from './schema.js';
8
8
  */
9
9
  export const unlabel_thread = gmailOperation({
10
10
  description: 'Remove labels from a thread.',
11
+ annotations: {
12
+ readOnlyHint: false,
13
+ destructiveHint: true,
14
+ idempotentHint: true,
15
+ openWorldHint: false,
16
+ },
11
17
  schema,
12
18
  handler,
13
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,8BAA8B;IAC3C,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_thread\n * Removes labels from every message in a thread via `users.threads.modify`\n * (removeLabelIds); confirms the removed labels.\n */\nexport const unlabel_thread = gmailOperation({\n description: 'Remove labels from a thread.',\n schema,\n handler,\n});\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gmail/tools/unlabel_thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IAC3C,WAAW,EAAE,8BAA8B;IAC3C,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { gmailOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/gmail/api/reference/mcp/tools_list/unlabel_thread\n * Removes labels from every message in a thread via `users.threads.modify`\n * (removeLabelIds); confirms the removed labels.\n */\nexport const unlabel_thread = gmailOperation({\n description: 'Remove labels from a thread.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n schema,\n handler,\n});\n"]}