@softeria/ms-365-mcp-server 0.129.1 → 0.131.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/dist/endpoints.json +93 -0
- package/dist/generated/client.js +171 -3
- package/package.json +1 -1
- package/src/endpoints.json +93 -0
package/dist/endpoints.json
CHANGED
|
@@ -973,6 +973,78 @@
|
|
|
973
973
|
"presets": ["onenote", "work"],
|
|
974
974
|
"workScopes": ["Notes.Read"]
|
|
975
975
|
},
|
|
976
|
+
{
|
|
977
|
+
"pathPattern": "/sites/{site-id}/onenote/notebooks",
|
|
978
|
+
"method": "post",
|
|
979
|
+
"toolName": "create-sharepoint-site-onenote-notebook",
|
|
980
|
+
"presets": ["onenote", "work"],
|
|
981
|
+
"workScopes": ["Notes.Create"]
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"pathPattern": "/sites/{site-id}/onenote/notebooks/{notebook-id}/sections",
|
|
985
|
+
"method": "post",
|
|
986
|
+
"toolName": "create-sharepoint-site-onenote-section",
|
|
987
|
+
"presets": ["onenote", "work"],
|
|
988
|
+
"workScopes": ["Notes.Create"]
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sections",
|
|
992
|
+
"method": "post",
|
|
993
|
+
"toolName": "create-sharepoint-site-onenote-section-group-section",
|
|
994
|
+
"presets": ["onenote", "work"],
|
|
995
|
+
"workScopes": ["Notes.Create"]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"pathPattern": "/sites/{site-id}/onenote/sections/{onenoteSection-id}/pages",
|
|
999
|
+
"method": "post",
|
|
1000
|
+
"toolName": "create-sharepoint-site-onenote-section-page",
|
|
1001
|
+
"presets": ["onenote", "work"],
|
|
1002
|
+
"workScopes": ["Notes.Create"],
|
|
1003
|
+
"contentType": "text/html",
|
|
1004
|
+
"llmTip": "Body must be a full HTML document (with <html><head><title>...</title></head><body>...</body></html>). Partial HTML fails silently."
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"pathPattern": "/sites/{site-id}/onenote/pages/{onenotePage-id}/content",
|
|
1008
|
+
"method": "patch",
|
|
1009
|
+
"toolName": "update-sharepoint-site-onenote-page-content",
|
|
1010
|
+
"presets": ["onenote", "work"],
|
|
1011
|
+
"workScopes": ["Notes.ReadWrite"],
|
|
1012
|
+
"requestBodySchema": {
|
|
1013
|
+
"type": "array",
|
|
1014
|
+
"description": "Array of patchContentCommand objects applied in order to the page's HTML.",
|
|
1015
|
+
"items": {
|
|
1016
|
+
"type": "object",
|
|
1017
|
+
"required": ["target", "action"],
|
|
1018
|
+
"properties": {
|
|
1019
|
+
"target": {
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
|
|
1022
|
+
},
|
|
1023
|
+
"action": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"enum": ["append", "insert", "prepend", "replace", "delete"],
|
|
1026
|
+
"description": "What to do at the target. 'delete' takes no content."
|
|
1027
|
+
},
|
|
1028
|
+
"position": {
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"enum": ["after", "before"],
|
|
1031
|
+
"description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
|
|
1032
|
+
},
|
|
1033
|
+
"content": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"description": "HTML to add. Required for all actions except 'delete'."
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"pathPattern": "/sites/{site-id}/onenote/pages/{onenotePage-id}",
|
|
1043
|
+
"method": "delete",
|
|
1044
|
+
"toolName": "delete-sharepoint-site-onenote-page",
|
|
1045
|
+
"presets": ["onenote", "work"],
|
|
1046
|
+
"workScopes": ["Notes.ReadWrite"]
|
|
1047
|
+
},
|
|
976
1048
|
{
|
|
977
1049
|
"pathPattern": "/me/onenote/pages",
|
|
978
1050
|
"method": "post",
|
|
@@ -1393,6 +1465,13 @@
|
|
|
1393
1465
|
"presets": ["teams", "work"],
|
|
1394
1466
|
"workScopes": ["ChatMessage.Read"]
|
|
1395
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}",
|
|
1470
|
+
"method": "patch",
|
|
1471
|
+
"toolName": "update-chat-message",
|
|
1472
|
+
"presets": ["teams", "work"],
|
|
1473
|
+
"workScopes": ["Chat.ReadWrite"]
|
|
1474
|
+
},
|
|
1396
1475
|
{
|
|
1397
1476
|
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}/hostedContents",
|
|
1398
1477
|
"method": "get",
|
|
@@ -1472,6 +1551,13 @@
|
|
|
1472
1551
|
"presets": ["teams", "work"],
|
|
1473
1552
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1474
1553
|
},
|
|
1554
|
+
{
|
|
1555
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}",
|
|
1556
|
+
"method": "patch",
|
|
1557
|
+
"toolName": "update-channel-message",
|
|
1558
|
+
"presets": ["teams", "work"],
|
|
1559
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1560
|
+
},
|
|
1475
1561
|
{
|
|
1476
1562
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents",
|
|
1477
1563
|
"method": "get",
|
|
@@ -1503,6 +1589,13 @@
|
|
|
1503
1589
|
"presets": ["teams", "work"],
|
|
1504
1590
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1505
1591
|
},
|
|
1592
|
+
{
|
|
1593
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}",
|
|
1594
|
+
"method": "patch",
|
|
1595
|
+
"toolName": "update-channel-message-reply",
|
|
1596
|
+
"presets": ["teams", "work"],
|
|
1597
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1598
|
+
},
|
|
1506
1599
|
{
|
|
1507
1600
|
"pathPattern": "/teams/{team-id}/members",
|
|
1508
1601
|
"method": "post",
|
package/dist/generated/client.js
CHANGED
|
@@ -1613,7 +1613,7 @@ const microsoft_graph_group = z.object({
|
|
|
1613
1613
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
1614
1614
|
).nullish(),
|
|
1615
1615
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
1616
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
1616
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
1617
1617
|
).optional(),
|
|
1618
1618
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
1619
1619
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -4608,6 +4608,18 @@ const microsoft_graph_listItemCollectionResponse = z.object({
|
|
|
4608
4608
|
"@odata.nextLink": z.string().nullable(),
|
|
4609
4609
|
value: z.array(microsoft_graph_listItem)
|
|
4610
4610
|
}).partial().passthrough();
|
|
4611
|
+
const update_sharepoint_site_onenote_page_content_Body = z.array(
|
|
4612
|
+
z.object({
|
|
4613
|
+
target: z.string().describe(
|
|
4614
|
+
"Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
|
|
4615
|
+
),
|
|
4616
|
+
action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
|
|
4617
|
+
position: z.enum(["after", "before"]).describe(
|
|
4618
|
+
"For 'insert'/'append', whether content goes after (default) or before the target's content."
|
|
4619
|
+
).optional(),
|
|
4620
|
+
content: z.string().describe("HTML to add. Required for all actions except 'delete'.").optional()
|
|
4621
|
+
}).passthrough()
|
|
4622
|
+
);
|
|
4611
4623
|
const microsoft_graph_endpointType = z.enum([
|
|
4612
4624
|
"default",
|
|
4613
4625
|
"voicemail",
|
|
@@ -5287,6 +5299,7 @@ const schemas = {
|
|
|
5287
5299
|
microsoft_graph_listCollectionResponse,
|
|
5288
5300
|
microsoft_graph_columnDefinitionCollectionResponse,
|
|
5289
5301
|
microsoft_graph_listItemCollectionResponse,
|
|
5302
|
+
update_sharepoint_site_onenote_page_content_Body,
|
|
5290
5303
|
microsoft_graph_endpointType,
|
|
5291
5304
|
microsoft_graph_communicationsIdentitySet,
|
|
5292
5305
|
microsoft_graph_virtualEventSettings,
|
|
@@ -5497,6 +5510,22 @@ const endpoints = makeApi([
|
|
|
5497
5510
|
],
|
|
5498
5511
|
response: z.void()
|
|
5499
5512
|
},
|
|
5513
|
+
{
|
|
5514
|
+
method: "patch",
|
|
5515
|
+
path: "/chats/:chatId/messages/:chatMessageId",
|
|
5516
|
+
alias: "update-chat-message",
|
|
5517
|
+
description: `Update the navigation property messages in chats`,
|
|
5518
|
+
requestFormat: "json",
|
|
5519
|
+
parameters: [
|
|
5520
|
+
{
|
|
5521
|
+
name: "body",
|
|
5522
|
+
description: `New navigation property values`,
|
|
5523
|
+
type: "Body",
|
|
5524
|
+
schema: microsoft_graph_chatMessage
|
|
5525
|
+
}
|
|
5526
|
+
],
|
|
5527
|
+
response: z.void()
|
|
5528
|
+
},
|
|
5500
5529
|
{
|
|
5501
5530
|
method: "get",
|
|
5502
5531
|
path: "/chats/:chatId/messages/:chatMessageId/hostedContents",
|
|
@@ -6871,7 +6900,7 @@ You can search within a folder hierarchy, a whole drive, or files shared with th
|
|
|
6871
6900
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
6872
6901
|
).nullish(),
|
|
6873
6902
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
6874
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
6903
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
6875
6904
|
).optional(),
|
|
6876
6905
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
6877
6906
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -6982,7 +7011,7 @@ You can create or update the following types of group: By default, this operatio
|
|
|
6982
7011
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
6983
7012
|
).nullish(),
|
|
6984
7013
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
6985
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
7014
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
6986
7015
|
).optional(),
|
|
6987
7016
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
6988
7017
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -13361,6 +13390,22 @@ To list them, include system in your $select statement.`,
|
|
|
13361
13390
|
],
|
|
13362
13391
|
response: z.void()
|
|
13363
13392
|
},
|
|
13393
|
+
{
|
|
13394
|
+
method: "post",
|
|
13395
|
+
path: "/sites/:siteId/onenote/notebooks",
|
|
13396
|
+
alias: "create-sharepoint-site-onenote-notebook",
|
|
13397
|
+
description: `Create new navigation property to notebooks for sites`,
|
|
13398
|
+
requestFormat: "json",
|
|
13399
|
+
parameters: [
|
|
13400
|
+
{
|
|
13401
|
+
name: "body",
|
|
13402
|
+
description: `New navigation property`,
|
|
13403
|
+
type: "Body",
|
|
13404
|
+
schema: microsoft_graph_notebook
|
|
13405
|
+
}
|
|
13406
|
+
],
|
|
13407
|
+
response: z.void()
|
|
13408
|
+
},
|
|
13364
13409
|
{
|
|
13365
13410
|
method: "get",
|
|
13366
13411
|
path: "/sites/:siteId/onenote/notebooks/:notebookId/sectionGroups",
|
|
@@ -13461,6 +13506,37 @@ To list them, include system in your $select statement.`,
|
|
|
13461
13506
|
],
|
|
13462
13507
|
response: z.void()
|
|
13463
13508
|
},
|
|
13509
|
+
{
|
|
13510
|
+
method: "post",
|
|
13511
|
+
path: "/sites/:siteId/onenote/notebooks/:notebookId/sections",
|
|
13512
|
+
alias: "create-sharepoint-site-onenote-section",
|
|
13513
|
+
description: `Create new navigation property to sections for sites`,
|
|
13514
|
+
requestFormat: "json",
|
|
13515
|
+
parameters: [
|
|
13516
|
+
{
|
|
13517
|
+
name: "body",
|
|
13518
|
+
description: `New navigation property`,
|
|
13519
|
+
type: "Body",
|
|
13520
|
+
schema: microsoft_graph_onenoteSection
|
|
13521
|
+
}
|
|
13522
|
+
],
|
|
13523
|
+
response: z.void()
|
|
13524
|
+
},
|
|
13525
|
+
{
|
|
13526
|
+
method: "delete",
|
|
13527
|
+
path: "/sites/:siteId/onenote/pages/:onenotePageId",
|
|
13528
|
+
alias: "delete-sharepoint-site-onenote-page",
|
|
13529
|
+
description: `Delete navigation property pages for sites`,
|
|
13530
|
+
requestFormat: "json",
|
|
13531
|
+
parameters: [
|
|
13532
|
+
{
|
|
13533
|
+
name: "If-Match",
|
|
13534
|
+
type: "Header",
|
|
13535
|
+
schema: z.string().describe("ETag").optional()
|
|
13536
|
+
}
|
|
13537
|
+
],
|
|
13538
|
+
response: z.void()
|
|
13539
|
+
},
|
|
13464
13540
|
{
|
|
13465
13541
|
method: "get",
|
|
13466
13542
|
path: "/sites/:siteId/onenote/pages/:onenotePageId/content",
|
|
@@ -13469,6 +13545,32 @@ To list them, include system in your $select statement.`,
|
|
|
13469
13545
|
requestFormat: "json",
|
|
13470
13546
|
response: z.void()
|
|
13471
13547
|
},
|
|
13548
|
+
{
|
|
13549
|
+
method: "patch",
|
|
13550
|
+
path: "/sites/:siteId/onenote/pages/:onenotePageId/content",
|
|
13551
|
+
alias: "update-sharepoint-site-onenote-page-content",
|
|
13552
|
+
description: `update-sharepoint-site-onenote-page-content (synthesized)`,
|
|
13553
|
+
requestFormat: "json",
|
|
13554
|
+
parameters: [
|
|
13555
|
+
{
|
|
13556
|
+
name: "body",
|
|
13557
|
+
description: `Operation payload`,
|
|
13558
|
+
type: "Body",
|
|
13559
|
+
schema: update_sharepoint_site_onenote_page_content_Body
|
|
13560
|
+
},
|
|
13561
|
+
{
|
|
13562
|
+
name: "siteId",
|
|
13563
|
+
type: "Path",
|
|
13564
|
+
schema: z.string().describe("Path parameter: site-id")
|
|
13565
|
+
},
|
|
13566
|
+
{
|
|
13567
|
+
name: "onenotePageId",
|
|
13568
|
+
type: "Path",
|
|
13569
|
+
schema: z.string().describe("Path parameter: onenotePage-id")
|
|
13570
|
+
}
|
|
13571
|
+
],
|
|
13572
|
+
response: z.void()
|
|
13573
|
+
},
|
|
13472
13574
|
{
|
|
13473
13575
|
method: "get",
|
|
13474
13576
|
path: "/sites/:siteId/onenote/sectionGroups/:sectionGroupId/sectionGroups",
|
|
@@ -13569,6 +13671,22 @@ To list them, include system in your $select statement.`,
|
|
|
13569
13671
|
],
|
|
13570
13672
|
response: z.void()
|
|
13571
13673
|
},
|
|
13674
|
+
{
|
|
13675
|
+
method: "post",
|
|
13676
|
+
path: "/sites/:siteId/onenote/sectionGroups/:sectionGroupId/sections",
|
|
13677
|
+
alias: "create-sharepoint-site-onenote-section-group-section",
|
|
13678
|
+
description: `Create new navigation property to sections for sites`,
|
|
13679
|
+
requestFormat: "json",
|
|
13680
|
+
parameters: [
|
|
13681
|
+
{
|
|
13682
|
+
name: "body",
|
|
13683
|
+
description: `New navigation property`,
|
|
13684
|
+
type: "Body",
|
|
13685
|
+
schema: microsoft_graph_onenoteSection
|
|
13686
|
+
}
|
|
13687
|
+
],
|
|
13688
|
+
response: z.void()
|
|
13689
|
+
},
|
|
13572
13690
|
{
|
|
13573
13691
|
method: "get",
|
|
13574
13692
|
path: "/sites/:siteId/onenote/sections/:onenoteSectionId/pages",
|
|
@@ -13619,6 +13737,22 @@ To list them, include system in your $select statement.`,
|
|
|
13619
13737
|
],
|
|
13620
13738
|
response: z.void()
|
|
13621
13739
|
},
|
|
13740
|
+
{
|
|
13741
|
+
method: "post",
|
|
13742
|
+
path: "/sites/:siteId/onenote/sections/:onenoteSectionId/pages",
|
|
13743
|
+
alias: "create-sharepoint-site-onenote-section-page",
|
|
13744
|
+
description: `Create new navigation property to pages for sites`,
|
|
13745
|
+
requestFormat: "json",
|
|
13746
|
+
parameters: [
|
|
13747
|
+
{
|
|
13748
|
+
name: "body",
|
|
13749
|
+
description: `New navigation property`,
|
|
13750
|
+
type: "Body",
|
|
13751
|
+
schema: microsoft_graph_onenotePage
|
|
13752
|
+
}
|
|
13753
|
+
],
|
|
13754
|
+
response: z.void()
|
|
13755
|
+
},
|
|
13622
13756
|
{
|
|
13623
13757
|
method: "get",
|
|
13624
13758
|
path: "/sites/delta()",
|
|
@@ -14109,6 +14243,24 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
|
|
|
14109
14243
|
],
|
|
14110
14244
|
response: z.void()
|
|
14111
14245
|
},
|
|
14246
|
+
{
|
|
14247
|
+
method: "patch",
|
|
14248
|
+
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId",
|
|
14249
|
+
alias: "update-channel-message",
|
|
14250
|
+
description: `Update a chatMessage object.
|
|
14251
|
+
Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.
|
|
14252
|
+
Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.`,
|
|
14253
|
+
requestFormat: "json",
|
|
14254
|
+
parameters: [
|
|
14255
|
+
{
|
|
14256
|
+
name: "body",
|
|
14257
|
+
description: `New navigation property values`,
|
|
14258
|
+
type: "Body",
|
|
14259
|
+
schema: microsoft_graph_chatMessage
|
|
14260
|
+
}
|
|
14261
|
+
],
|
|
14262
|
+
response: z.void()
|
|
14263
|
+
},
|
|
14112
14264
|
{
|
|
14113
14265
|
method: "get",
|
|
14114
14266
|
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/hostedContents",
|
|
@@ -14225,6 +14377,22 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
|
|
|
14225
14377
|
],
|
|
14226
14378
|
response: z.void()
|
|
14227
14379
|
},
|
|
14380
|
+
{
|
|
14381
|
+
method: "patch",
|
|
14382
|
+
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/replies/:chatMessageId1",
|
|
14383
|
+
alias: "update-channel-message-reply",
|
|
14384
|
+
description: `Update the navigation property replies in teams`,
|
|
14385
|
+
requestFormat: "json",
|
|
14386
|
+
parameters: [
|
|
14387
|
+
{
|
|
14388
|
+
name: "body",
|
|
14389
|
+
description: `New navigation property values`,
|
|
14390
|
+
type: "Body",
|
|
14391
|
+
schema: microsoft_graph_chatMessage
|
|
14392
|
+
}
|
|
14393
|
+
],
|
|
14394
|
+
response: z.void()
|
|
14395
|
+
},
|
|
14228
14396
|
{
|
|
14229
14397
|
method: "post",
|
|
14230
14398
|
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/setReaction",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.131.0",
|
|
4
4
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/src/endpoints.json
CHANGED
|
@@ -973,6 +973,78 @@
|
|
|
973
973
|
"presets": ["onenote", "work"],
|
|
974
974
|
"workScopes": ["Notes.Read"]
|
|
975
975
|
},
|
|
976
|
+
{
|
|
977
|
+
"pathPattern": "/sites/{site-id}/onenote/notebooks",
|
|
978
|
+
"method": "post",
|
|
979
|
+
"toolName": "create-sharepoint-site-onenote-notebook",
|
|
980
|
+
"presets": ["onenote", "work"],
|
|
981
|
+
"workScopes": ["Notes.Create"]
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"pathPattern": "/sites/{site-id}/onenote/notebooks/{notebook-id}/sections",
|
|
985
|
+
"method": "post",
|
|
986
|
+
"toolName": "create-sharepoint-site-onenote-section",
|
|
987
|
+
"presets": ["onenote", "work"],
|
|
988
|
+
"workScopes": ["Notes.Create"]
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sections",
|
|
992
|
+
"method": "post",
|
|
993
|
+
"toolName": "create-sharepoint-site-onenote-section-group-section",
|
|
994
|
+
"presets": ["onenote", "work"],
|
|
995
|
+
"workScopes": ["Notes.Create"]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"pathPattern": "/sites/{site-id}/onenote/sections/{onenoteSection-id}/pages",
|
|
999
|
+
"method": "post",
|
|
1000
|
+
"toolName": "create-sharepoint-site-onenote-section-page",
|
|
1001
|
+
"presets": ["onenote", "work"],
|
|
1002
|
+
"workScopes": ["Notes.Create"],
|
|
1003
|
+
"contentType": "text/html",
|
|
1004
|
+
"llmTip": "Body must be a full HTML document (with <html><head><title>...</title></head><body>...</body></html>). Partial HTML fails silently."
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"pathPattern": "/sites/{site-id}/onenote/pages/{onenotePage-id}/content",
|
|
1008
|
+
"method": "patch",
|
|
1009
|
+
"toolName": "update-sharepoint-site-onenote-page-content",
|
|
1010
|
+
"presets": ["onenote", "work"],
|
|
1011
|
+
"workScopes": ["Notes.ReadWrite"],
|
|
1012
|
+
"requestBodySchema": {
|
|
1013
|
+
"type": "array",
|
|
1014
|
+
"description": "Array of patchContentCommand objects applied in order to the page's HTML.",
|
|
1015
|
+
"items": {
|
|
1016
|
+
"type": "object",
|
|
1017
|
+
"required": ["target", "action"],
|
|
1018
|
+
"properties": {
|
|
1019
|
+
"target": {
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
|
|
1022
|
+
},
|
|
1023
|
+
"action": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"enum": ["append", "insert", "prepend", "replace", "delete"],
|
|
1026
|
+
"description": "What to do at the target. 'delete' takes no content."
|
|
1027
|
+
},
|
|
1028
|
+
"position": {
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"enum": ["after", "before"],
|
|
1031
|
+
"description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
|
|
1032
|
+
},
|
|
1033
|
+
"content": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"description": "HTML to add. Required for all actions except 'delete'."
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"pathPattern": "/sites/{site-id}/onenote/pages/{onenotePage-id}",
|
|
1043
|
+
"method": "delete",
|
|
1044
|
+
"toolName": "delete-sharepoint-site-onenote-page",
|
|
1045
|
+
"presets": ["onenote", "work"],
|
|
1046
|
+
"workScopes": ["Notes.ReadWrite"]
|
|
1047
|
+
},
|
|
976
1048
|
{
|
|
977
1049
|
"pathPattern": "/me/onenote/pages",
|
|
978
1050
|
"method": "post",
|
|
@@ -1393,6 +1465,13 @@
|
|
|
1393
1465
|
"presets": ["teams", "work"],
|
|
1394
1466
|
"workScopes": ["ChatMessage.Read"]
|
|
1395
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}",
|
|
1470
|
+
"method": "patch",
|
|
1471
|
+
"toolName": "update-chat-message",
|
|
1472
|
+
"presets": ["teams", "work"],
|
|
1473
|
+
"workScopes": ["Chat.ReadWrite"]
|
|
1474
|
+
},
|
|
1396
1475
|
{
|
|
1397
1476
|
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}/hostedContents",
|
|
1398
1477
|
"method": "get",
|
|
@@ -1472,6 +1551,13 @@
|
|
|
1472
1551
|
"presets": ["teams", "work"],
|
|
1473
1552
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1474
1553
|
},
|
|
1554
|
+
{
|
|
1555
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}",
|
|
1556
|
+
"method": "patch",
|
|
1557
|
+
"toolName": "update-channel-message",
|
|
1558
|
+
"presets": ["teams", "work"],
|
|
1559
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1560
|
+
},
|
|
1475
1561
|
{
|
|
1476
1562
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents",
|
|
1477
1563
|
"method": "get",
|
|
@@ -1503,6 +1589,13 @@
|
|
|
1503
1589
|
"presets": ["teams", "work"],
|
|
1504
1590
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1505
1591
|
},
|
|
1592
|
+
{
|
|
1593
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}",
|
|
1594
|
+
"method": "patch",
|
|
1595
|
+
"toolName": "update-channel-message-reply",
|
|
1596
|
+
"presets": ["teams", "work"],
|
|
1597
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1598
|
+
},
|
|
1506
1599
|
{
|
|
1507
1600
|
"pathPattern": "/teams/{team-id}/members",
|
|
1508
1601
|
"method": "post",
|