@softeria/ms-365-mcp-server 0.175.0 → 0.176.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.
package/PRESETS.md CHANGED
@@ -6,28 +6,28 @@
6
6
 
7
7
  | Preset | Tools | Org mode | Description |
8
8
  | ----------------------------- | ----: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
9
- | [`all`](#all) | 364 | | All available tools |
9
+ | [`all`](#all) | 369 | | All available tools |
10
10
  | [`calendar`](#calendar) | 47 | | Calendar and event management |
11
11
  | [`contacts`](#contacts) | 15 | | Outlook contacts management |
12
12
  | [`excel`](#excel) | 25 | | Excel spreadsheet operations |
13
13
  | [`files`](#files) | 25 | | OneDrive file and folder operations |
14
14
  | [`mail`](#mail) | 49 | | Email operations (read, send, manage folders, attachments) |
15
15
  | [`onedrive`](#onedrive) | 23 | | OneDrive app only: drive and file operations, excluding Excel |
16
- | [`onenote`](#onenote) | 28 | | OneNote notebook operations |
16
+ | [`onenote`](#onenote) | 29 | | OneNote notebook operations |
17
17
  | [`outlook`](#outlook) | 96 | | Outlook app only: mail, calendar and contacts |
18
- | [`personal`](#personal) | 175 | | Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search) |
18
+ | [`personal`](#personal) | 177 | | Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search) |
19
19
  | [`search`](#search) | 7 | | Microsoft Search capabilities |
20
- | [`tasks`](#tasks) | 34 | | Task and planning tools (To Do, Planner) |
20
+ | [`tasks`](#tasks) | 35 | | Task and planning tools (To Do, Planner) |
21
21
  | [`teams`](#teams) | 73 | required | Teams app only: chats, channels, meetings and presence |
22
22
  | [`teams-write`](#teams-write) | 11 | required | Teams send-only: send/reply in chats and channels, list chats/teams/channels by name, activity notifications - no message reading |
23
23
  | [`users`](#users) | 11 | required | User directory access |
24
- | [`work`](#work) | 187 | required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
24
+ | [`work`](#work) | 190 | required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
25
25
 
26
26
  ## `all`
27
27
 
28
28
  All available tools
29
29
 
30
- Tools (364):
30
+ Tools (369):
31
31
 
32
32
  - `accept-calendar-event`
33
33
  - `add-calendar-event-attachment`
@@ -202,6 +202,7 @@ Tools (364):
202
202
  - `get-sharepoint-site-item`
203
203
  - `get-sharepoint-site-list`
204
204
  - `get-sharepoint-site-list-item`
205
+ - `get-sharepoint-site-list-item-version`
205
206
  - `get-sharepoint-site-onenote-page-content`
206
207
  - `get-sharepoint-sites-delta`
207
208
  - `get-specific-calendar-event`
@@ -294,7 +295,9 @@ Tools (364):
294
295
  - `list-sharepoint-list-columns`
295
296
  - `list-sharepoint-site-drives`
296
297
  - `list-sharepoint-site-items`
298
+ - `list-sharepoint-site-list-item-versions`
297
299
  - `list-sharepoint-site-list-items`
300
+ - `list-sharepoint-site-list-items-delta`
298
301
  - `list-sharepoint-site-lists`
299
302
  - `list-sharepoint-site-onenote-notebook-section-groups`
300
303
  - `list-sharepoint-site-onenote-notebook-sections`
@@ -311,6 +314,7 @@ Tools (364):
311
314
  - `list-todo-checklist-items`
312
315
  - `list-todo-linked-resources`
313
316
  - `list-todo-task-lists`
317
+ - `list-todo-task-lists-delta`
314
318
  - `list-todo-tasks`
315
319
  - `list-trending-insights`
316
320
  - `list-user-direct-reports`
@@ -372,6 +376,7 @@ Tools (364):
372
376
  - `update-mail-rule`
373
377
  - `update-mailbox-settings`
374
378
  - `update-my-calendar-permission`
379
+ - `update-onenote-page-content`
375
380
  - `update-online-meeting`
376
381
  - `update-outlook-contact`
377
382
  - `update-place`
@@ -624,7 +629,7 @@ Tools (23):
624
629
 
625
630
  OneNote notebook operations
626
631
 
627
- Tools (28):
632
+ Tools (29):
628
633
 
629
634
  - `create-onenote-notebook`
630
635
  - `create-onenote-page`
@@ -653,6 +658,7 @@ Tools (28):
653
658
  - `list-sharepoint-site-onenote-section-group-section-groups`
654
659
  - `list-sharepoint-site-onenote-section-group-sections`
655
660
  - `list-sharepoint-site-onenote-section-pages`
661
+ - `update-onenote-page-content`
656
662
  - `update-sharepoint-site-onenote-page-content`
657
663
 
658
664
  ## `outlook`
@@ -762,7 +768,7 @@ Tools (96):
762
768
 
763
769
  Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search)
764
770
 
765
- Tools (175):
771
+ Tools (177):
766
772
 
767
773
  - `accept-calendar-event`
768
774
  - `add-calendar-event-attachment`
@@ -903,6 +909,7 @@ Tools (175):
903
909
  - `list-todo-checklist-items`
904
910
  - `list-todo-linked-resources`
905
911
  - `list-todo-task-lists`
912
+ - `list-todo-task-lists-delta`
906
913
  - `list-todo-tasks`
907
914
  - `list-trending-insights`
908
915
  - `merge-excel-range`
@@ -931,6 +938,7 @@ Tools (175):
931
938
  - `update-mail-rule`
932
939
  - `update-mailbox-settings`
933
940
  - `update-my-calendar-permission`
941
+ - `update-onenote-page-content`
934
942
  - `update-outlook-contact`
935
943
  - `update-specific-calendar-event`
936
944
  - `update-todo-checklist-item`
@@ -958,7 +966,7 @@ Tools (7):
958
966
 
959
967
  Task and planning tools (To Do, Planner)
960
968
 
961
- Tools (34):
969
+ Tools (35):
962
970
 
963
971
  - `create-planner-bucket`
964
972
  - `create-planner-plan`
@@ -986,6 +994,7 @@ Tools (34):
986
994
  - `list-todo-checklist-items`
987
995
  - `list-todo-linked-resources`
988
996
  - `list-todo-task-lists`
997
+ - `list-todo-task-lists-delta`
989
998
  - `list-todo-tasks`
990
999
  - `update-planner-bucket`
991
1000
  - `update-planner-plan`
@@ -1123,7 +1132,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
1123
1132
 
1124
1133
  Requires `--org-mode`.
1125
1134
 
1126
- Tools (187):
1135
+ Tools (190):
1127
1136
 
1128
1137
  - `add-group-member`
1129
1138
  - `add-group-owner`
@@ -1204,6 +1213,7 @@ Tools (187):
1204
1213
  - `get-sharepoint-site-item`
1205
1214
  - `get-sharepoint-site-list`
1206
1215
  - `get-sharepoint-site-list-item`
1216
+ - `get-sharepoint-site-list-item-version`
1207
1217
  - `get-sharepoint-site-onenote-page-content`
1208
1218
  - `get-sharepoint-sites-delta`
1209
1219
  - `get-team`
@@ -1255,7 +1265,9 @@ Tools (187):
1255
1265
  - `list-sharepoint-list-columns`
1256
1266
  - `list-sharepoint-site-drives`
1257
1267
  - `list-sharepoint-site-items`
1268
+ - `list-sharepoint-site-list-item-versions`
1258
1269
  - `list-sharepoint-site-list-items`
1270
+ - `list-sharepoint-site-list-items-delta`
1259
1271
  - `list-sharepoint-site-lists`
1260
1272
  - `list-sharepoint-site-onenote-notebook-section-groups`
1261
1273
  - `list-sharepoint-site-onenote-notebook-sections`
@@ -1204,6 +1204,41 @@
1204
1204
  "presets": ["onenote", "personal"],
1205
1205
  "scopes": ["Notes.Read"]
1206
1206
  },
1207
+ {
1208
+ "pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
1209
+ "method": "patch",
1210
+ "toolName": "update-onenote-page-content",
1211
+ "presets": ["onenote", "personal"],
1212
+ "scopes": ["Notes.ReadWrite"],
1213
+ "requestBodySchema": {
1214
+ "type": "array",
1215
+ "description": "Array of patchContentCommand objects applied in order to the page's HTML.",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "required": ["target", "action"],
1219
+ "properties": {
1220
+ "target": {
1221
+ "type": "string",
1222
+ "description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
1223
+ },
1224
+ "action": {
1225
+ "type": "string",
1226
+ "enum": ["append", "insert", "prepend", "replace", "delete"],
1227
+ "description": "What to do at the target. 'delete' takes no content."
1228
+ },
1229
+ "position": {
1230
+ "type": "string",
1231
+ "enum": ["after", "before"],
1232
+ "description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
1233
+ },
1234
+ "content": {
1235
+ "type": "string",
1236
+ "description": "HTML to add. Required for all actions except 'delete'."
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ },
1207
1242
  {
1208
1243
  "pathPattern": "/sites/{site-id}/onenote/notebooks",
1209
1244
  "method": "get",
@@ -1358,7 +1393,15 @@
1358
1393
  "presets": ["personal", "tasks"],
1359
1394
  "scopes": ["Tasks.Read"],
1360
1395
  "queryParams": ["top", "skip", "filter", "skiptoken"],
1361
- "llmTip": "Lists all To Do task lists. Returns todoTaskList-id needed for all task operations. The default list is typically called 'Tasks'."
1396
+ "llmTip": "If it returns only 'Flagged Emails', use list-todo-task-lists-delta instead."
1397
+ },
1398
+ {
1399
+ "pathPattern": "/me/todo/lists/delta()",
1400
+ "method": "get",
1401
+ "toolName": "list-todo-task-lists-delta",
1402
+ "presets": ["personal", "tasks"],
1403
+ "scopes": ["Tasks.ReadWrite"],
1404
+ "queryParams": ["select", "skiptoken"]
1362
1405
  },
1363
1406
  {
1364
1407
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -2172,6 +2215,28 @@
2172
2215
  "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2173
2216
  "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
2174
2217
  },
2218
+ {
2219
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/delta()",
2220
+ "method": "get",
2221
+ "toolName": "list-sharepoint-site-list-items-delta",
2222
+ "presets": ["work"],
2223
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2224
+ "queryParams": ["select", "expand", "top"]
2225
+ },
2226
+ {
2227
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",
2228
+ "method": "get",
2229
+ "toolName": "list-sharepoint-site-list-item-versions",
2230
+ "presets": ["work"],
2231
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2232
+ },
2233
+ {
2234
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",
2235
+ "method": "get",
2236
+ "toolName": "get-sharepoint-site-list-item-version",
2237
+ "presets": ["work"],
2238
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2239
+ },
2175
2240
  {
2176
2241
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items",
2177
2242
  "method": "post",
@@ -3710,6 +3710,18 @@ const microsoft_graph_onenotePageCollectionResponse = z.object({
3710
3710
  "@odata.nextLink": z.string().nullable(),
3711
3711
  value: z.array(microsoft_graph_onenotePage)
3712
3712
  }).partial().passthrough();
3713
+ const update_onenote_page_content_Body = z.array(
3714
+ z.object({
3715
+ target: z.string().describe(
3716
+ "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
3717
+ ),
3718
+ action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
3719
+ position: z.enum(["after", "before"]).describe(
3720
+ "For 'insert'/'append', whether content goes after (default) or before the target's content."
3721
+ ).optional(),
3722
+ content: z.string().describe("HTML to add. Required for all actions except 'delete'.").optional()
3723
+ }).passthrough()
3724
+ );
3713
3725
  const microsoft_graph_sectionGroupCollectionResponse = z.object({
3714
3726
  "@odata.count": z.number().int().nullable(),
3715
3727
  "@odata.nextLink": z.string().nullable(),
@@ -4640,18 +4652,11 @@ const microsoft_graph_listItemCollectionResponse = z.object({
4640
4652
  "@odata.nextLink": z.string().nullable(),
4641
4653
  value: z.array(microsoft_graph_listItem)
4642
4654
  }).partial().passthrough();
4643
- const update_sharepoint_site_onenote_page_content_Body = z.array(
4644
- z.object({
4645
- target: z.string().describe(
4646
- "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
4647
- ),
4648
- action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
4649
- position: z.enum(["after", "before"]).describe(
4650
- "For 'insert'/'append', whether content goes after (default) or before the target's content."
4651
- ).optional(),
4652
- content: z.string().describe("HTML to add. Required for all actions except 'delete'.").optional()
4653
- }).passthrough()
4654
- );
4655
+ const microsoft_graph_listItemVersionCollectionResponse = z.object({
4656
+ "@odata.count": z.number().int().nullable(),
4657
+ "@odata.nextLink": z.string().nullable(),
4658
+ value: z.array(microsoft_graph_listItemVersion)
4659
+ }).partial().passthrough();
4655
4660
  const microsoft_graph_endpointType = z.enum([
4656
4661
  "default",
4657
4662
  "voicemail",
@@ -5255,6 +5260,7 @@ const schemas = {
5255
5260
  microsoft_graph_onenoteSectionCollectionResponse,
5256
5261
  microsoft_graph_CopyNotebookModel,
5257
5262
  microsoft_graph_onenotePageCollectionResponse,
5263
+ update_onenote_page_content_Body,
5258
5264
  microsoft_graph_sectionGroupCollectionResponse,
5259
5265
  microsoft_graph_allowedLobbyAdmitterRoles,
5260
5266
  microsoft_graph_onlineMeetingPresenters,
@@ -5361,7 +5367,7 @@ const schemas = {
5361
5367
  microsoft_graph_listCollectionResponse,
5362
5368
  microsoft_graph_columnDefinitionCollectionResponse,
5363
5369
  microsoft_graph_listItemCollectionResponse,
5364
- update_sharepoint_site_onenote_page_content_Body,
5370
+ microsoft_graph_listItemVersionCollectionResponse,
5365
5371
  microsoft_graph_endpointType,
5366
5372
  microsoft_graph_communicationsIdentitySet,
5367
5373
  microsoft_graph_virtualEventSettings,
@@ -11105,6 +11111,27 @@ resource.`,
11105
11111
  requestFormat: "json",
11106
11112
  response: z.void()
11107
11113
  },
11114
+ {
11115
+ method: "patch",
11116
+ path: "/me/onenote/pages/:onenotePageId/content",
11117
+ alias: "update-onenote-page-content",
11118
+ description: `Update OneNote page content.`,
11119
+ requestFormat: "json",
11120
+ parameters: [
11121
+ {
11122
+ name: "body",
11123
+ description: `Operation payload`,
11124
+ type: "Body",
11125
+ schema: update_onenote_page_content_Body
11126
+ },
11127
+ {
11128
+ name: "onenotePageId",
11129
+ type: "Path",
11130
+ schema: z.string().describe("Path parameter: onenotePage-id")
11131
+ }
11132
+ ],
11133
+ response: z.void()
11134
+ },
11108
11135
  {
11109
11136
  method: "get",
11110
11137
  path: "/me/onenote/sectionGroups",
@@ -12607,6 +12634,57 @@ Currently, a user can be associated with a team in two different ways:`,
12607
12634
  ],
12608
12635
  response: z.void()
12609
12636
  },
12637
+ {
12638
+ method: "get",
12639
+ path: "/me/todo/lists/delta()",
12640
+ alias: "list-todo-task-lists-delta",
12641
+ description: `Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,
12642
+ you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time.`,
12643
+ requestFormat: "json",
12644
+ parameters: [
12645
+ {
12646
+ name: "$top",
12647
+ type: "Query",
12648
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
12649
+ },
12650
+ {
12651
+ name: "$skip",
12652
+ type: "Query",
12653
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
12654
+ },
12655
+ {
12656
+ name: "$search",
12657
+ type: "Query",
12658
+ schema: z.string().describe("Search items by search phrases").optional()
12659
+ },
12660
+ {
12661
+ name: "$filter",
12662
+ type: "Query",
12663
+ schema: z.string().describe("Filter items by property values").optional()
12664
+ },
12665
+ {
12666
+ name: "$count",
12667
+ type: "Query",
12668
+ schema: z.boolean().describe("Include count of items").optional()
12669
+ },
12670
+ {
12671
+ name: "$select",
12672
+ type: "Query",
12673
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
12674
+ },
12675
+ {
12676
+ name: "$orderby",
12677
+ type: "Query",
12678
+ schema: z.array(z.string()).describe("Order items by property values").optional()
12679
+ },
12680
+ {
12681
+ name: "$expand",
12682
+ type: "Query",
12683
+ schema: z.array(z.string()).describe("Expand related entities").optional()
12684
+ }
12685
+ ],
12686
+ response: z.void()
12687
+ },
12610
12688
  {
12611
12689
  method: "patch",
12612
12690
  path: "/places/:placeId",
@@ -13817,6 +13895,130 @@ To list them, include system in your $select statement.`,
13817
13895
  ],
13818
13896
  response: z.void()
13819
13897
  },
13898
+ {
13899
+ method: "get",
13900
+ path: "/sites/:siteId/lists/:listId/items/:listItemId/versions",
13901
+ alias: "list-sharepoint-site-list-item-versions",
13902
+ description: `SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location.`,
13903
+ requestFormat: "json",
13904
+ parameters: [
13905
+ {
13906
+ name: "$top",
13907
+ type: "Query",
13908
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
13909
+ },
13910
+ {
13911
+ name: "$skip",
13912
+ type: "Query",
13913
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
13914
+ },
13915
+ {
13916
+ name: "$search",
13917
+ type: "Query",
13918
+ schema: z.string().describe("Search items by search phrases").optional()
13919
+ },
13920
+ {
13921
+ name: "$filter",
13922
+ type: "Query",
13923
+ schema: z.string().describe("Filter items by property values").optional()
13924
+ },
13925
+ {
13926
+ name: "$count",
13927
+ type: "Query",
13928
+ schema: z.boolean().describe("Include count of items").optional()
13929
+ },
13930
+ {
13931
+ name: "$orderby",
13932
+ type: "Query",
13933
+ schema: z.array(z.string()).describe("Order items by property values").optional()
13934
+ },
13935
+ {
13936
+ name: "$select",
13937
+ type: "Query",
13938
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
13939
+ },
13940
+ {
13941
+ name: "$expand",
13942
+ type: "Query",
13943
+ schema: z.array(z.string()).describe("Expand related entities").optional()
13944
+ }
13945
+ ],
13946
+ response: z.void()
13947
+ },
13948
+ {
13949
+ method: "get",
13950
+ path: "/sites/:siteId/lists/:listId/items/:listItemId/versions/:listItemVersionId",
13951
+ alias: "get-sharepoint-site-list-item-version",
13952
+ description: `Retrieve the metadata for a specific version of a ListItem.`,
13953
+ requestFormat: "json",
13954
+ parameters: [
13955
+ {
13956
+ name: "$select",
13957
+ type: "Query",
13958
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
13959
+ },
13960
+ {
13961
+ name: "$expand",
13962
+ type: "Query",
13963
+ schema: z.array(z.string()).describe("Expand related entities").optional()
13964
+ }
13965
+ ],
13966
+ response: z.void()
13967
+ },
13968
+ {
13969
+ method: "get",
13970
+ path: "/sites/:siteId/lists/:listId/items/delta()",
13971
+ alias: "list-sharepoint-site-list-items-delta",
13972
+ description: `Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.
13973
+ The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.
13974
+ Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the\xA0changes, you can apply them to your local state.
13975
+ To check for changes in the\xA0future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.
13976
+ The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.`,
13977
+ requestFormat: "json",
13978
+ parameters: [
13979
+ {
13980
+ name: "$top",
13981
+ type: "Query",
13982
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
13983
+ },
13984
+ {
13985
+ name: "$skip",
13986
+ type: "Query",
13987
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
13988
+ },
13989
+ {
13990
+ name: "$search",
13991
+ type: "Query",
13992
+ schema: z.string().describe("Search items by search phrases").optional()
13993
+ },
13994
+ {
13995
+ name: "$filter",
13996
+ type: "Query",
13997
+ schema: z.string().describe("Filter items by property values").optional()
13998
+ },
13999
+ {
14000
+ name: "$count",
14001
+ type: "Query",
14002
+ schema: z.boolean().describe("Include count of items").optional()
14003
+ },
14004
+ {
14005
+ name: "$select",
14006
+ type: "Query",
14007
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
14008
+ },
14009
+ {
14010
+ name: "$orderby",
14011
+ type: "Query",
14012
+ schema: z.array(z.string()).describe("Order items by property values").optional()
14013
+ },
14014
+ {
14015
+ name: "$expand",
14016
+ type: "Query",
14017
+ schema: z.array(z.string()).describe("Expand related entities").optional()
14018
+ }
14019
+ ],
14020
+ response: z.void()
14021
+ },
13820
14022
  {
13821
14023
  method: "get",
13822
14024
  path: "/sites/:siteId/onenote/notebooks",
@@ -14033,7 +14235,7 @@ To list them, include system in your $select statement.`,
14033
14235
  name: "body",
14034
14236
  description: `Operation payload`,
14035
14237
  type: "Body",
14036
- schema: update_sharepoint_site_onenote_page_content_Body
14238
+ schema: update_onenote_page_content_Body
14037
14239
  },
14038
14240
  {
14039
14241
  name: "siteId",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
3
  "mcpName": "io.github.Softeria/ms-365-mcp-server",
4
- "version": "0.175.0",
4
+ "version": "0.176.0",
5
5
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -1204,6 +1204,41 @@
1204
1204
  "presets": ["onenote", "personal"],
1205
1205
  "scopes": ["Notes.Read"]
1206
1206
  },
1207
+ {
1208
+ "pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
1209
+ "method": "patch",
1210
+ "toolName": "update-onenote-page-content",
1211
+ "presets": ["onenote", "personal"],
1212
+ "scopes": ["Notes.ReadWrite"],
1213
+ "requestBodySchema": {
1214
+ "type": "array",
1215
+ "description": "Array of patchContentCommand objects applied in order to the page's HTML.",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "required": ["target", "action"],
1219
+ "properties": {
1220
+ "target": {
1221
+ "type": "string",
1222
+ "description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
1223
+ },
1224
+ "action": {
1225
+ "type": "string",
1226
+ "enum": ["append", "insert", "prepend", "replace", "delete"],
1227
+ "description": "What to do at the target. 'delete' takes no content."
1228
+ },
1229
+ "position": {
1230
+ "type": "string",
1231
+ "enum": ["after", "before"],
1232
+ "description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
1233
+ },
1234
+ "content": {
1235
+ "type": "string",
1236
+ "description": "HTML to add. Required for all actions except 'delete'."
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ },
1207
1242
  {
1208
1243
  "pathPattern": "/sites/{site-id}/onenote/notebooks",
1209
1244
  "method": "get",
@@ -1358,7 +1393,15 @@
1358
1393
  "presets": ["personal", "tasks"],
1359
1394
  "scopes": ["Tasks.Read"],
1360
1395
  "queryParams": ["top", "skip", "filter", "skiptoken"],
1361
- "llmTip": "Lists all To Do task lists. Returns todoTaskList-id needed for all task operations. The default list is typically called 'Tasks'."
1396
+ "llmTip": "If it returns only 'Flagged Emails', use list-todo-task-lists-delta instead."
1397
+ },
1398
+ {
1399
+ "pathPattern": "/me/todo/lists/delta()",
1400
+ "method": "get",
1401
+ "toolName": "list-todo-task-lists-delta",
1402
+ "presets": ["personal", "tasks"],
1403
+ "scopes": ["Tasks.ReadWrite"],
1404
+ "queryParams": ["select", "skiptoken"]
1362
1405
  },
1363
1406
  {
1364
1407
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -2172,6 +2215,28 @@
2172
2215
  "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2173
2216
  "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
2174
2217
  },
2218
+ {
2219
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/delta()",
2220
+ "method": "get",
2221
+ "toolName": "list-sharepoint-site-list-items-delta",
2222
+ "presets": ["work"],
2223
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2224
+ "queryParams": ["select", "expand", "top"]
2225
+ },
2226
+ {
2227
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",
2228
+ "method": "get",
2229
+ "toolName": "list-sharepoint-site-list-item-versions",
2230
+ "presets": ["work"],
2231
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2232
+ },
2233
+ {
2234
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",
2235
+ "method": "get",
2236
+ "toolName": "get-sharepoint-site-list-item-version",
2237
+ "presets": ["work"],
2238
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2239
+ },
2175
2240
  {
2176
2241
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items",
2177
2242
  "method": "post",