@softeria/ms-365-mcp-server 0.176.0 → 0.177.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/README.md +41 -0
- package/SECURITY.md +9 -0
- package/bin/modules/generate-mcp-tools.mjs +24 -1
- package/dist/__tests__/graph-tools.test.js +4 -4
- package/dist/app-mode.js +137 -0
- package/dist/auth.js +66 -12
- package/dist/cli.js +10 -1
- package/dist/endpoints.json +250 -41
- package/dist/generated/client-beta.js +50 -50
- package/dist/generated/client.js +503 -503
- package/dist/graph-client.js +8 -2
- package/dist/graph-tools.js +66 -49
- package/dist/index.js +18 -3
- package/dist/lib/tool-schema.js +39 -12
- package/dist/mcp-instructions.js +4 -0
- package/dist/normalize-tool-schema.js +170 -1
- package/dist/server.js +3 -1
- package/package.json +2 -3
- package/src/endpoints.json +250 -41
package/src/endpoints.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"method": "post",
|
|
5
5
|
"toolName": "graph-batch",
|
|
6
6
|
"scopes": [],
|
|
7
|
+
"appScopes": [],
|
|
7
8
|
"llmTip": "Combine up to 20 Graph requests into a single HTTP call. Body: { requests: [{ id: '1', method: 'GET'|'POST'|'PATCH'|'DELETE', url: '/me/messages?$top=5', headers?: {...}, body?: {...}, dependsOn?: ['1'] }, ...] }. Returns { responses: [{ id, status, body, headers }] } in arbitrary order — match by id. Use cases: (1) parallelize many small reads (e.g. fetch 15 mail messages by id in one round-trip); (2) sequence dependent writes via dependsOn; (3) batch many Excel range writes into one call to dramatically reduce latency on large workbook builds. Note: each sub-request URL is relative to the Graph version root (/me/..., /drives/..., NOT https://graph.microsoft.com/v1.0/...)."
|
|
8
9
|
},
|
|
9
10
|
{
|
|
@@ -91,6 +92,7 @@
|
|
|
91
92
|
"toolName": "list-shared-mailbox-messages",
|
|
92
93
|
"presets": ["work"],
|
|
93
94
|
"workScopes": ["Mail.Read.Shared"],
|
|
95
|
+
"appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]],
|
|
94
96
|
"llmTip": "CRITICAL: When searching emails, the $search parameter value MUST be wrapped in double quotes. Format: $search=\"your search query here\". Use KQL (Keyword Query Language) syntax to search specific properties: 'from:', 'subject:', 'body:', 'to:', 'cc:', 'bcc:', 'attachment:', 'hasAttachments:', 'importance:', 'received:', 'sent:'. Examples: $search=\"from:john@example.com\" | $search=\"subject:meeting AND hasAttachments:true\" | $search=\"body:urgent AND received>=2024-01-01\" | $search=\"from:alice AND importance:high\". Remember: ALWAYS wrap the entire search expression in double quotes! Reference: https://learn.microsoft.com/en-us/graph/search-query-parameter IMPORTANT: Always use $select to limit returned fields and reduce response size. Recommended default: $select=id,subject,from,toRecipients,receivedDateTime,bodyPreview,isRead,hasAttachments. Use bodyPreview instead of body for listings. To read the full email body, use get-shared-mailbox-message with the specific message id."
|
|
95
97
|
},
|
|
96
98
|
{
|
|
@@ -99,6 +101,7 @@
|
|
|
99
101
|
"toolName": "list-shared-mailbox-folder-messages",
|
|
100
102
|
"presets": ["work"],
|
|
101
103
|
"workScopes": ["Mail.Read.Shared"],
|
|
104
|
+
"appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]],
|
|
102
105
|
"llmTip": "CRITICAL: When searching emails, the $search parameter value MUST be wrapped in double quotes. Format: $search=\"your search query here\". Use KQL (Keyword Query Language) syntax to search specific properties: 'from:', 'subject:', 'body:', 'to:', 'cc:', 'bcc:', 'attachment:', 'hasAttachments:', 'importance:', 'received:', 'sent:'. Examples: $search=\"from:john@example.com\" | $search=\"subject:meeting AND hasAttachments:true\" | $search=\"body:urgent AND received>=2024-01-01\" | $search=\"from:alice AND importance:high\". Remember: ALWAYS wrap the entire search expression in double quotes! Reference: https://learn.microsoft.com/en-us/graph/search-query-parameter IMPORTANT: Always use $select to limit returned fields and reduce response size. Recommended default: $select=id,subject,from,toRecipients,receivedDateTime,bodyPreview,isRead,hasAttachments. Use bodyPreview instead of body for listings. To read the full email body, use get-shared-mailbox-message with the specific message id."
|
|
103
106
|
},
|
|
104
107
|
{
|
|
@@ -107,7 +110,8 @@
|
|
|
107
110
|
"toolName": "get-shared-mailbox-message",
|
|
108
111
|
"descriptionOverride": "Get a single Outlook message from another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
109
112
|
"presets": ["work"],
|
|
110
|
-
"workScopes": ["Mail.Read.Shared"]
|
|
113
|
+
"workScopes": ["Mail.Read.Shared"],
|
|
114
|
+
"appScopes": [["Mail.Read"], ["Mail.ReadBasic.All"]]
|
|
111
115
|
},
|
|
112
116
|
{
|
|
113
117
|
"pathPattern": "/users/{user-id}/sendMail",
|
|
@@ -115,6 +119,7 @@
|
|
|
115
119
|
"toolName": "send-shared-mailbox-mail",
|
|
116
120
|
"presets": ["work"],
|
|
117
121
|
"workScopes": ["Mail.Send.Shared"],
|
|
122
|
+
"appScopes": ["Mail.Send"],
|
|
118
123
|
"llmTip": "CRITICAL: Do not try to guess the email address of the recipients. Use the list-users tool to find the email address of the recipients."
|
|
119
124
|
},
|
|
120
125
|
{
|
|
@@ -122,7 +127,8 @@
|
|
|
122
127
|
"method": "post",
|
|
123
128
|
"toolName": "create-shared-mailbox-draft",
|
|
124
129
|
"presets": ["work"],
|
|
125
|
-
"workScopes": ["Mail.ReadWrite.Shared"]
|
|
130
|
+
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
131
|
+
"appScopes": ["Mail.ReadWrite"]
|
|
126
132
|
},
|
|
127
133
|
{
|
|
128
134
|
"pathPattern": "/users/{user-id}/messages/{message-id}/move",
|
|
@@ -131,6 +137,7 @@
|
|
|
131
137
|
"descriptionOverride": "Move a message in another user's mailbox or a shared mailbox to a different folder. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
132
138
|
"presets": ["work"],
|
|
133
139
|
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
140
|
+
"appScopes": ["Mail.ReadWrite"],
|
|
134
141
|
"llmTip": "destinationId accepts folder ID or well-known name (inbox, drafts, sentitems, deleteditems, junkemail, archive)."
|
|
135
142
|
},
|
|
136
143
|
{
|
|
@@ -139,7 +146,8 @@
|
|
|
139
146
|
"toolName": "update-shared-mailbox-message",
|
|
140
147
|
"descriptionOverride": "Update a message in another user's mailbox or a shared mailbox — for example mark it read or unread (isRead), flag it (flag), change its categories or importance, or edit a draft's subject, body, or recipients. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
141
148
|
"presets": ["work"],
|
|
142
|
-
"workScopes": ["Mail.ReadWrite.Shared"]
|
|
149
|
+
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
150
|
+
"appScopes": ["Mail.ReadWrite"]
|
|
143
151
|
},
|
|
144
152
|
{
|
|
145
153
|
"pathPattern": "/users/{user-id}/messages/{message-id}/reply",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"toolName": "reply-shared-mailbox-mail",
|
|
148
156
|
"presets": ["work"],
|
|
149
157
|
"workScopes": ["Mail.Send.Shared"],
|
|
158
|
+
"appScopes": ["Mail.Send"],
|
|
150
159
|
"llmTip": "Reply to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). The 'comment' field is your reply text. Do NOT reconstruct the email manually. Requires Send As permission on the shared mailbox in Exchange."
|
|
151
160
|
},
|
|
152
161
|
{
|
|
@@ -155,6 +164,7 @@
|
|
|
155
164
|
"toolName": "reply-all-shared-mailbox-mail",
|
|
156
165
|
"presets": ["work"],
|
|
157
166
|
"workScopes": ["Mail.Send.Shared"],
|
|
167
|
+
"appScopes": ["Mail.Send"],
|
|
158
168
|
"llmTip": "Reply-all to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address. The 'comment' field is your reply text. Requires Send As permission on the shared mailbox in Exchange."
|
|
159
169
|
},
|
|
160
170
|
{
|
|
@@ -163,6 +173,7 @@
|
|
|
163
173
|
"toolName": "forward-shared-mailbox-mail",
|
|
164
174
|
"presets": ["work"],
|
|
165
175
|
"workScopes": ["Mail.Send.Shared"],
|
|
176
|
+
"appScopes": ["Mail.Send"],
|
|
166
177
|
"llmTip": "Forward a message from a shared mailbox preserving full HTML formatting and attachments. The 'user-id' is the shared mailbox email address. 'toRecipients' is required. The 'comment' field adds text above the forwarded content. Requires Send As permission on the shared mailbox in Exchange."
|
|
167
178
|
},
|
|
168
179
|
{
|
|
@@ -171,6 +182,7 @@
|
|
|
171
182
|
"toolName": "create-shared-mailbox-reply-draft",
|
|
172
183
|
"presets": ["work"],
|
|
173
184
|
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
185
|
+
"appScopes": ["Mail.ReadWrite"],
|
|
174
186
|
"llmTip": "Create a reply draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
|
|
175
187
|
},
|
|
176
188
|
{
|
|
@@ -179,6 +191,7 @@
|
|
|
179
191
|
"toolName": "create-shared-mailbox-reply-all-draft",
|
|
180
192
|
"presets": ["work"],
|
|
181
193
|
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
194
|
+
"appScopes": ["Mail.ReadWrite"],
|
|
182
195
|
"llmTip": "Create a reply-all draft in a shared mailbox preserving thread metadata (conversationId, In-Reply-To, References). The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Specifying both 'comment' and Message.body returns 400. Requires delegated access to the shared mailbox."
|
|
183
196
|
},
|
|
184
197
|
{
|
|
@@ -187,6 +200,7 @@
|
|
|
187
200
|
"toolName": "create-shared-mailbox-forward-draft",
|
|
188
201
|
"presets": ["work"],
|
|
189
202
|
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
203
|
+
"appScopes": ["Mail.ReadWrite"],
|
|
190
204
|
"llmTip": "Create a forward draft in a shared mailbox without sending. The 'user-id' is the shared mailbox email address. Does not send — use send-shared-mailbox-draft to send afterwards. Useful when the user wants to review before the forward goes out. Requires delegated access to the shared mailbox."
|
|
191
205
|
},
|
|
192
206
|
{
|
|
@@ -195,6 +209,7 @@
|
|
|
195
209
|
"toolName": "send-shared-mailbox-draft",
|
|
196
210
|
"presets": ["work"],
|
|
197
211
|
"workScopes": ["Mail.Send.Shared"],
|
|
212
|
+
"appScopes": ["Mail.Send"],
|
|
198
213
|
"llmTip": "Send an existing draft from a shared mailbox. No request body needed — just call with the message ID and the shared mailbox user-id. Draft must exist in the shared mailbox's Drafts folder. Requires Send As permission on the shared mailbox in Exchange."
|
|
199
214
|
},
|
|
200
215
|
{
|
|
@@ -203,7 +218,8 @@
|
|
|
203
218
|
"toolName": "list-shared-mailbox-folders",
|
|
204
219
|
"descriptionOverride": "List the top-level mail folders in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
205
220
|
"presets": ["work"],
|
|
206
|
-
"workScopes": ["Mail.Read.Shared"]
|
|
221
|
+
"workScopes": ["Mail.Read.Shared"],
|
|
222
|
+
"appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
|
|
207
223
|
},
|
|
208
224
|
{
|
|
209
225
|
"pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
|
|
@@ -211,7 +227,8 @@
|
|
|
211
227
|
"toolName": "list-shared-mailbox-child-folders",
|
|
212
228
|
"descriptionOverride": "List the child folders of a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
213
229
|
"presets": ["work"],
|
|
214
|
-
"workScopes": ["Mail.Read.Shared"]
|
|
230
|
+
"workScopes": ["Mail.Read.Shared"],
|
|
231
|
+
"appScopes": [["Mail.ReadBasic.All"], ["Mail.Read"]]
|
|
215
232
|
},
|
|
216
233
|
{
|
|
217
234
|
"pathPattern": "/users/{user-id}/mailFolders",
|
|
@@ -219,7 +236,8 @@
|
|
|
219
236
|
"toolName": "create-shared-mailbox-folder",
|
|
220
237
|
"descriptionOverride": "Create a top-level mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
221
238
|
"presets": ["work"],
|
|
222
|
-
"workScopes": ["Mail.ReadWrite.Shared"]
|
|
239
|
+
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
240
|
+
"appScopes": ["Mail.ReadWrite"]
|
|
223
241
|
},
|
|
224
242
|
{
|
|
225
243
|
"pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/childFolders",
|
|
@@ -227,7 +245,8 @@
|
|
|
227
245
|
"toolName": "create-shared-mailbox-child-folder",
|
|
228
246
|
"descriptionOverride": "Create a subfolder inside a mail folder in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
229
247
|
"presets": ["work"],
|
|
230
|
-
"workScopes": ["Mail.ReadWrite.Shared"]
|
|
248
|
+
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
249
|
+
"appScopes": ["Mail.ReadWrite"]
|
|
231
250
|
},
|
|
232
251
|
{
|
|
233
252
|
"pathPattern": "/users/{user-id}/messages/{message-id}/attachments",
|
|
@@ -236,6 +255,7 @@
|
|
|
236
255
|
"descriptionOverride": "List the attachments on a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
237
256
|
"presets": ["work"],
|
|
238
257
|
"workScopes": ["Mail.Read.Shared"],
|
|
258
|
+
"appScopes": ["Mail.Read"],
|
|
239
259
|
"llmTip": "To download the bytes, call download-bytes or get-download-url with target=/users/{user-id}/messages/{message-id}/attachments/{attachment-id}/$value."
|
|
240
260
|
},
|
|
241
261
|
{
|
|
@@ -245,6 +265,7 @@
|
|
|
245
265
|
"descriptionOverride": "Add an attachment under 3MB to a draft message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
246
266
|
"presets": ["work"],
|
|
247
267
|
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
268
|
+
"appScopes": ["Mail.ReadWrite"],
|
|
248
269
|
"llmTip": "Body requires @odata.type: {\"@odata.type\": \"#microsoft.graph.fileAttachment\", \"name\": \"file.pdf\", \"contentBytes\": \"<base64>\"}. Graph has no working path for 3MB and above here: upload sessions return 403 in a shared or delegated mailbox."
|
|
249
270
|
},
|
|
250
271
|
{
|
|
@@ -253,7 +274,8 @@
|
|
|
253
274
|
"toolName": "delete-shared-mailbox-attachment",
|
|
254
275
|
"descriptionOverride": "Delete an attachment from a message in another user's mailbox or a shared mailbox. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
255
276
|
"presets": ["work"],
|
|
256
|
-
"workScopes": ["Mail.ReadWrite.Shared"]
|
|
277
|
+
"workScopes": ["Mail.ReadWrite.Shared"],
|
|
278
|
+
"appScopes": ["Mail.ReadWrite"]
|
|
257
279
|
},
|
|
258
280
|
{
|
|
259
281
|
"pathPattern": "/users",
|
|
@@ -261,6 +283,7 @@
|
|
|
261
283
|
"toolName": "list-users",
|
|
262
284
|
"presets": ["users", "work"],
|
|
263
285
|
"workScopes": ["User.Read.All"],
|
|
286
|
+
"appScopes": [["User.Read.All"], ["Directory.Read.All"]],
|
|
264
287
|
"llmTip": "CRITICAL: This request requires the ConsistencyLevel header set to eventual. When searching users, the $search parameter value MUST be wrapped in double quotes. Format: $search=\"your search query here\". Use KQL (Keyword Query Language) syntax to search specific properties: 'displayName:'. Examples: $search=\"displayName:john\" | $search=\"displayName:john\" OR \"displayName:jane\". Remember: ALWAYS wrap the entire search expression in double quotes and set the ConsistencyLevel header to eventual! Reference: https://learn.microsoft.com/en-us/graph/search-query-parameter"
|
|
265
288
|
},
|
|
266
289
|
{
|
|
@@ -601,6 +624,7 @@
|
|
|
601
624
|
"descriptionOverride": "List events in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated access to that calendar is required. Recurring events are returned as a single series master, not expanded into occurrences - use get-shared-calendar-view for that.",
|
|
602
625
|
"presets": ["work"],
|
|
603
626
|
"workScopes": ["Calendars.Read.Shared"],
|
|
627
|
+
"appScopes": [["Calendars.ReadBasic"], ["Calendars.Read"]],
|
|
604
628
|
"supportsTimezone": true
|
|
605
629
|
},
|
|
606
630
|
{
|
|
@@ -610,6 +634,7 @@
|
|
|
610
634
|
"descriptionOverride": "List the occurrences, exceptions, and single instances of events in another user's default calendar over a time range. Requires the startDateTime and endDateTime query parameters in ISO 8601 format. Unlike list-shared-calendar-events, recurring series are expanded into individual occurrences.",
|
|
611
635
|
"presets": ["work"],
|
|
612
636
|
"workScopes": ["Calendars.Read.Shared"],
|
|
637
|
+
"appScopes": [["Calendars.ReadBasic"], ["Calendars.Read"]],
|
|
613
638
|
"supportsTimezone": true
|
|
614
639
|
},
|
|
615
640
|
{
|
|
@@ -619,6 +644,7 @@
|
|
|
619
644
|
"descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated write access to that calendar is required. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
|
|
620
645
|
"presets": ["work"],
|
|
621
646
|
"workScopes": ["Calendars.ReadWrite.Shared"],
|
|
647
|
+
"appScopes": ["Calendars.ReadWrite"],
|
|
622
648
|
"supportsTimezone": true
|
|
623
649
|
},
|
|
624
650
|
{
|
|
@@ -628,6 +654,7 @@
|
|
|
628
654
|
"descriptionOverride": "Update an event in another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view. Times use nested {dateTime, timeZone} objects.",
|
|
629
655
|
"presets": ["work"],
|
|
630
656
|
"workScopes": ["Calendars.ReadWrite.Shared"],
|
|
657
|
+
"appScopes": ["Calendars.ReadWrite"],
|
|
631
658
|
"supportsTimezone": true
|
|
632
659
|
},
|
|
633
660
|
{
|
|
@@ -637,7 +664,8 @@
|
|
|
637
664
|
"descriptionOverride": "Delete an event from another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view.",
|
|
638
665
|
"llmTip": "Deleting a seriesMaster deletes ALL occurrences of the recurring event. If the owner organizes the meeting, deleting it sends a cancellation to the attendees.",
|
|
639
666
|
"presets": ["work"],
|
|
640
|
-
"workScopes": ["Calendars.ReadWrite.Shared"]
|
|
667
|
+
"workScopes": ["Calendars.ReadWrite.Shared"],
|
|
668
|
+
"appScopes": ["Calendars.ReadWrite"]
|
|
641
669
|
},
|
|
642
670
|
{
|
|
643
671
|
"pathPattern": "/me/calendars/{calendar-id}/events/{event-id}/instances",
|
|
@@ -702,6 +730,7 @@
|
|
|
702
730
|
"toolName": "get-drive-delta",
|
|
703
731
|
"presets": ["files", "onedrive", "personal"],
|
|
704
732
|
"scopes": ["Files.Read"],
|
|
733
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
705
734
|
"llmTip": "Tracks changes to a driveItem and its children over time. Returns a collection of driveItems that have been created, modified, or deleted. Use get-drive-root-item first to get the root driveItem-id, then pass it here. Supports $select and delta tokens for incremental sync via @odata.deltaLink."
|
|
706
735
|
},
|
|
707
736
|
{
|
|
@@ -709,21 +738,24 @@
|
|
|
709
738
|
"method": "get",
|
|
710
739
|
"toolName": "get-drive-root-item",
|
|
711
740
|
"presets": ["files", "onedrive", "personal"],
|
|
712
|
-
"scopes": [["Files.Read"], ["Sites.Selected"]]
|
|
741
|
+
"scopes": [["Files.Read"], ["Sites.Selected"]],
|
|
742
|
+
"appScopes": [["Files.Read.All"], ["Group.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]]
|
|
713
743
|
},
|
|
714
744
|
{
|
|
715
745
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
|
|
716
746
|
"method": "get",
|
|
717
747
|
"toolName": "list-folder-files",
|
|
718
748
|
"presets": ["files", "onedrive", "personal"],
|
|
719
|
-
"scopes": [["Files.Read"], ["Sites.Selected"]]
|
|
749
|
+
"scopes": [["Files.Read"], ["Sites.Selected"]],
|
|
750
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]]
|
|
720
751
|
},
|
|
721
752
|
{
|
|
722
753
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
|
|
723
754
|
"method": "delete",
|
|
724
755
|
"toolName": "delete-onedrive-file",
|
|
725
756
|
"presets": ["files", "onedrive", "personal"],
|
|
726
|
-
"scopes": ["Files.ReadWrite"]
|
|
757
|
+
"scopes": ["Files.ReadWrite"],
|
|
758
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]]
|
|
727
759
|
},
|
|
728
760
|
{
|
|
729
761
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/content",
|
|
@@ -731,6 +763,7 @@
|
|
|
731
763
|
"toolName": "upload-file-content",
|
|
732
764
|
"presets": ["files", "onedrive", "personal"],
|
|
733
765
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
766
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
734
767
|
"llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Graph accepts up to 250MB here, but the whole string travels as a tool argument and a truncated one decodes to a truncated file with no error, so use create-upload-session rather than emitting a large base64 string. For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning."
|
|
735
768
|
},
|
|
736
769
|
{
|
|
@@ -739,6 +772,7 @@
|
|
|
739
772
|
"toolName": "create-upload-session",
|
|
740
773
|
"presets": ["files", "onedrive", "personal"],
|
|
741
774
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
775
|
+
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
742
776
|
"llmTip": "For large file uploads (no size limit, and no minimum unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself. This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
|
|
743
777
|
},
|
|
744
778
|
{
|
|
@@ -747,6 +781,7 @@
|
|
|
747
781
|
"toolName": "get-drive-item",
|
|
748
782
|
"presets": ["files", "onedrive", "personal"],
|
|
749
783
|
"scopes": [["Files.Read"], ["Sites.Selected"]],
|
|
784
|
+
"appScopes": [["Files.Read.All"], ["Group.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
750
785
|
"llmTip": "Gets metadata for a file or folder: name, size, lastModifiedDateTime, createdBy, webUrl, file (mimeType, hashes), folder (childCount), parentReference, and @microsoft.graph.downloadUrl. For large drive/SharePoint files, call get-download-url with target=/drives/{drive-id}/items/{driveItem-id}/content to fetch out-of-band with no Authorization header. For small files where base64 in the tool response is acceptable, call download-bytes with the same /content target."
|
|
751
786
|
},
|
|
752
787
|
{
|
|
@@ -755,6 +790,7 @@
|
|
|
755
790
|
"toolName": "move-rename-onedrive-item",
|
|
756
791
|
"presets": ["files", "onedrive", "personal"],
|
|
757
792
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
793
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
758
794
|
"llmTip": "Move and/or rename a file or folder. To move, provide parentReference with the target folder's id. To rename, provide a new name. Both can be done in a single request."
|
|
759
795
|
},
|
|
760
796
|
{
|
|
@@ -763,6 +799,7 @@
|
|
|
763
799
|
"toolName": "create-onedrive-folder",
|
|
764
800
|
"presets": ["files", "onedrive", "personal"],
|
|
765
801
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
802
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
766
803
|
"llmTip": "Creates a new folder inside the specified drive item. Body must include name (string) and folder ({}) fields. Use @microsoft.graph.conflictBehavior to control behavior on name conflict: 'rename' (default), 'replace', or 'fail'."
|
|
767
804
|
},
|
|
768
805
|
{
|
|
@@ -771,6 +808,7 @@
|
|
|
771
808
|
"toolName": "share-drive-item",
|
|
772
809
|
"presets": ["files", "onedrive", "personal"],
|
|
773
810
|
"scopes": ["Files.ReadWrite"],
|
|
811
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
774
812
|
"llmTip": "Shares a file or folder with specific users. Body: { recipients: [{ email: 'user@example.com' }], roles: ['read'], sendInvitation: true, message: 'Please review this file.' }. Roles: 'read', 'write', 'owner'. Set requireSignIn to true to require authentication."
|
|
775
813
|
},
|
|
776
814
|
{
|
|
@@ -779,6 +817,7 @@
|
|
|
779
817
|
"toolName": "create-drive-item-share-link",
|
|
780
818
|
"presets": ["files", "onedrive", "personal"],
|
|
781
819
|
"scopes": ["Files.ReadWrite"],
|
|
820
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
782
821
|
"llmTip": "Create a shareable link for a file or folder WITHOUT sending an email invitation. Body: { type: 'view' | 'edit' | 'embed', scope: 'anonymous' | 'organization' | 'users', password?: string, expirationDateTime?: ISO-8601, retainInheritedPermissions?: boolean }. Returns a permission with link.webUrl. Pair with share-drive-item when you want to grant explicit access; use this when you only need a URL to paste into a doc/email/chat without triggering OneDrive notifications."
|
|
783
822
|
},
|
|
784
823
|
{
|
|
@@ -787,6 +826,7 @@
|
|
|
787
826
|
"toolName": "copy-drive-item",
|
|
788
827
|
"presets": ["files", "onedrive", "personal"],
|
|
789
828
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
829
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
790
830
|
"llmTip": "Asynchronously copy a file or folder to a new location and/or name. Body: { parentReference: { driveId: '...', id: '...' }, name?: 'New Name.xlsx' }. Returns 202 Accepted with a Location header pointing at a monitor URL for the async job. Ideal for duplicating templates (e.g. clone an Armhr Census Template per prospect), bulk file provisioning, or preserving an immutable snapshot of a working file."
|
|
791
831
|
},
|
|
792
832
|
{
|
|
@@ -795,6 +835,7 @@
|
|
|
795
835
|
"toolName": "create-drive-item-preview",
|
|
796
836
|
"presets": ["files", "onedrive", "personal"],
|
|
797
837
|
"scopes": ["Files.Read"],
|
|
838
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
798
839
|
"llmTip": "Generate a short-lived embeddable preview URL for a file (Office docs, PDFs, images). Body: { page?: number | string, zoom?: number, viewer?: 'onedrive' | 'office' }. Returns getUrl (interactive) and postUrl (form-post). Useful for surfacing inline previews in summary emails or chat messages without needing the recipient to open the file."
|
|
799
840
|
},
|
|
800
841
|
{
|
|
@@ -803,6 +844,7 @@
|
|
|
803
844
|
"toolName": "list-drive-item-thumbnails",
|
|
804
845
|
"presets": ["files", "onedrive", "personal"],
|
|
805
846
|
"scopes": ["Files.Read"],
|
|
847
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
806
848
|
"llmTip": "Lists thumbnail sets for a file. Each set contains small (96px), medium (176px), large (800px) thumbnails with url and dimensions. Returns empty for unsupported types (text docs). Use $select=small,medium,large or $expand=small($select=url) to fetch specific sizes. The returned URLs are short-lived — fetch the bytes immediately."
|
|
807
849
|
},
|
|
808
850
|
{
|
|
@@ -811,6 +853,7 @@
|
|
|
811
853
|
"toolName": "list-drive-item-permissions",
|
|
812
854
|
"presets": ["files", "onedrive", "personal"],
|
|
813
855
|
"scopes": ["Files.Read"],
|
|
856
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
814
857
|
"llmTip": "Lists all permissions (sharing links, direct access, inherited) on a file or folder. Each permission has roles, grantedTo (user), link (sharing URL), and inheritedFrom."
|
|
815
858
|
},
|
|
816
859
|
{
|
|
@@ -819,6 +862,7 @@
|
|
|
819
862
|
"toolName": "delete-drive-item-permission",
|
|
820
863
|
"presets": ["files", "onedrive", "personal"],
|
|
821
864
|
"scopes": ["Files.ReadWrite"],
|
|
865
|
+
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
822
866
|
"llmTip": "Removes a specific permission from a file or folder. Only permissions that are not inherited can be deleted. Use list-drive-item-permissions first to find the permission ID."
|
|
823
867
|
},
|
|
824
868
|
{
|
|
@@ -827,6 +871,7 @@
|
|
|
827
871
|
"toolName": "list-drive-item-versions",
|
|
828
872
|
"presets": ["files", "onedrive", "personal"],
|
|
829
873
|
"scopes": [["Files.Read"], ["Sites.Selected"]],
|
|
874
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
830
875
|
"llmTip": "Lists version history of a file. Each version has id, lastModifiedDateTime, lastModifiedBy, and size. Use the version id with /versions/{id}/content to download a specific version."
|
|
831
876
|
},
|
|
832
877
|
{
|
|
@@ -835,6 +880,7 @@
|
|
|
835
880
|
"toolName": "search-onedrive-files",
|
|
836
881
|
"presets": ["files", "onedrive", "personal", "search"],
|
|
837
882
|
"scopes": ["Files.Read"],
|
|
883
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"]],
|
|
838
884
|
"skipEncoding": ["q"],
|
|
839
885
|
"llmTip": "Searches for files in a drive by name or content. The q parameter searches file names, metadata, and file content. Returns matching driveItems with id, name, webUrl, size, lastModifiedDateTime. Use list-drives first to get the drive-id."
|
|
840
886
|
},
|
|
@@ -986,6 +1032,7 @@
|
|
|
986
1032
|
"descriptionOverride": "Download the raw MIME source (RFC 5322 .eml content) of a message in another user's mailbox or a shared mailbox, by message ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
987
1033
|
"presets": ["work"],
|
|
988
1034
|
"workScopes": ["Mail.Read.Shared"],
|
|
1035
|
+
"appScopes": ["Mail.Read"],
|
|
989
1036
|
"acceptType": "text/plain",
|
|
990
1037
|
"blobOutput": true,
|
|
991
1038
|
"llmTip": "Download a message of a shared mailbox as an .eml. Find the message id with list-shared-mailbox-messages first. With the server's blob output on, the bytes come back as a file resource; pass fileName to name it."
|
|
@@ -1007,6 +1054,7 @@
|
|
|
1007
1054
|
"descriptionOverride": "Download the raw bytes of a file attachment of a message in another user's mailbox or a shared mailbox, by message ID and attachment ID. The user-id is the mailbox owner's ID or email address, and delegated access to that mailbox is required.",
|
|
1008
1055
|
"presets": ["work"],
|
|
1009
1056
|
"workScopes": ["Mail.Read.Shared"],
|
|
1057
|
+
"appScopes": ["Mail.Read"],
|
|
1010
1058
|
"blobOutput": true,
|
|
1011
1059
|
"llmTip": "Find the attachment id with list-shared-mailbox-attachments first. With the server's blob output on, the bytes come back as a file resource; pass fileName (the attachment's name) to name it. Files over the server's download limit are refused with an error naming the limit."
|
|
1012
1060
|
},
|
|
@@ -1515,7 +1563,8 @@
|
|
|
1515
1563
|
"method": "get",
|
|
1516
1564
|
"toolName": "get-planner-plan",
|
|
1517
1565
|
"presets": ["tasks", "work"],
|
|
1518
|
-
"scopes": ["Tasks.Read"]
|
|
1566
|
+
"scopes": ["Tasks.Read"],
|
|
1567
|
+
"appScopes": ["Tasks.Read.All"]
|
|
1519
1568
|
},
|
|
1520
1569
|
{
|
|
1521
1570
|
"pathPattern": "/planner/plans",
|
|
@@ -1523,6 +1572,7 @@
|
|
|
1523
1572
|
"toolName": "create-planner-plan",
|
|
1524
1573
|
"presets": ["tasks", "work"],
|
|
1525
1574
|
"scopes": ["Tasks.ReadWrite"],
|
|
1575
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1526
1576
|
"llmTip": "Body: {\"container\": {\"url\": \"https://graph.microsoft.com/v1.0/groups/{group-id}\"}, \"title\": \"...\"}. For a team, the group id is the team id. The signed-in user must be a member of the group. The container cannot be changed later. Returns the new plan id; to show the plan in a channel, add a Planner tab with create-channel-tab."
|
|
1527
1577
|
},
|
|
1528
1578
|
{
|
|
@@ -1531,6 +1581,7 @@
|
|
|
1531
1581
|
"toolName": "update-planner-plan",
|
|
1532
1582
|
"presets": ["tasks", "work"],
|
|
1533
1583
|
"scopes": ["Tasks.ReadWrite"],
|
|
1584
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1534
1585
|
"llmTip": "CRITICAL: Requires If-Match header with ETag from get-planner-plan (use includeHeaders=true)."
|
|
1535
1586
|
},
|
|
1536
1587
|
{
|
|
@@ -1539,6 +1590,7 @@
|
|
|
1539
1590
|
"toolName": "list-group-planner-plans",
|
|
1540
1591
|
"presets": ["tasks", "work"],
|
|
1541
1592
|
"scopes": ["Tasks.Read"],
|
|
1593
|
+
"appScopes": ["Tasks.Read.All"],
|
|
1542
1594
|
"llmTip": "Lists the plans owned by a Microsoft 365 group. For a team, the group id is the team id."
|
|
1543
1595
|
},
|
|
1544
1596
|
{
|
|
@@ -1547,6 +1599,7 @@
|
|
|
1547
1599
|
"toolName": "list-plan-tasks",
|
|
1548
1600
|
"presets": ["tasks", "work"],
|
|
1549
1601
|
"scopes": ["Tasks.Read"],
|
|
1602
|
+
"appScopes": ["Tasks.Read.All"],
|
|
1550
1603
|
"llmTip": "Priority is 0-10 (lower = higher priority); Planner's own UI presets are 1=Urgent, 3=Important, 5=Medium, 9=Low."
|
|
1551
1604
|
},
|
|
1552
1605
|
{
|
|
@@ -1555,6 +1608,7 @@
|
|
|
1555
1608
|
"toolName": "get-planner-task",
|
|
1556
1609
|
"presets": ["tasks", "work"],
|
|
1557
1610
|
"scopes": ["Tasks.Read"],
|
|
1611
|
+
"appScopes": ["Tasks.Read.All"],
|
|
1558
1612
|
"llmTip": "Response includes @odata.etag — save it, required as If-Match header for update-planner-task. Use includeHeaders=true to capture it."
|
|
1559
1613
|
},
|
|
1560
1614
|
{
|
|
@@ -1562,7 +1616,8 @@
|
|
|
1562
1616
|
"method": "post",
|
|
1563
1617
|
"toolName": "create-planner-task",
|
|
1564
1618
|
"presets": ["tasks", "work"],
|
|
1565
|
-
"scopes": ["Tasks.ReadWrite"]
|
|
1619
|
+
"scopes": ["Tasks.ReadWrite"],
|
|
1620
|
+
"appScopes": ["Tasks.ReadWrite.All"]
|
|
1566
1621
|
},
|
|
1567
1622
|
{
|
|
1568
1623
|
"pathPattern": "/planner/tasks/{plannerTask-id}",
|
|
@@ -1570,6 +1625,7 @@
|
|
|
1570
1625
|
"toolName": "update-planner-task",
|
|
1571
1626
|
"presets": ["tasks", "work"],
|
|
1572
1627
|
"scopes": ["Tasks.ReadWrite"],
|
|
1628
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1573
1629
|
"llmTip": "CRITICAL: Requires If-Match header with the task's @odata.etag value, otherwise returns 412 Precondition Failed. Get the ETag from get-planner-task with includeHeaders=true. Priority is 0-10 (lower = higher priority); Planner's own UI presets are 1=Urgent, 3=Important, 5=Medium, 9=Low."
|
|
1574
1630
|
},
|
|
1575
1631
|
{
|
|
@@ -1578,6 +1634,7 @@
|
|
|
1578
1634
|
"toolName": "get-planner-task-details",
|
|
1579
1635
|
"presets": ["tasks", "work"],
|
|
1580
1636
|
"scopes": ["Tasks.Read"],
|
|
1637
|
+
"appScopes": ["Tasks.Read.All"],
|
|
1581
1638
|
"llmTip": "Response includes @odata.etag — required for update-planner-task-details. Use includeHeaders=true."
|
|
1582
1639
|
},
|
|
1583
1640
|
{
|
|
@@ -1586,6 +1643,7 @@
|
|
|
1586
1643
|
"toolName": "update-planner-task-details",
|
|
1587
1644
|
"presets": ["tasks", "work"],
|
|
1588
1645
|
"scopes": ["Tasks.ReadWrite"],
|
|
1646
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1589
1647
|
"llmTip": "CRITICAL: Requires If-Match header with ETag from get-planner-task-details (use includeHeaders=true). Checklist items use GUID keys: {\"checklist\": {\"<guid>\": {\"title\": \"...\", \"isChecked\": false}}}."
|
|
1590
1648
|
},
|
|
1591
1649
|
{
|
|
@@ -1593,7 +1651,8 @@
|
|
|
1593
1651
|
"method": "get",
|
|
1594
1652
|
"toolName": "list-plan-buckets",
|
|
1595
1653
|
"presets": ["tasks", "work"],
|
|
1596
|
-
"scopes": ["Tasks.Read"]
|
|
1654
|
+
"scopes": ["Tasks.Read"],
|
|
1655
|
+
"appScopes": ["Tasks.Read.All"]
|
|
1597
1656
|
},
|
|
1598
1657
|
{
|
|
1599
1658
|
"pathPattern": "/planner/buckets/{plannerBucket-id}",
|
|
@@ -1601,6 +1660,7 @@
|
|
|
1601
1660
|
"toolName": "get-planner-bucket",
|
|
1602
1661
|
"presets": ["tasks", "work"],
|
|
1603
1662
|
"scopes": ["Tasks.Read"],
|
|
1663
|
+
"appScopes": ["Tasks.Read.All"],
|
|
1604
1664
|
"llmTip": "Response includes @odata.etag — required as If-Match for update-planner-bucket and delete-planner-bucket. Use includeHeaders=true."
|
|
1605
1665
|
},
|
|
1606
1666
|
{
|
|
@@ -1608,7 +1668,8 @@
|
|
|
1608
1668
|
"method": "post",
|
|
1609
1669
|
"toolName": "create-planner-bucket",
|
|
1610
1670
|
"presets": ["tasks", "work"],
|
|
1611
|
-
"scopes": ["Tasks.ReadWrite"]
|
|
1671
|
+
"scopes": ["Tasks.ReadWrite"],
|
|
1672
|
+
"appScopes": ["Tasks.ReadWrite.All"]
|
|
1612
1673
|
},
|
|
1613
1674
|
{
|
|
1614
1675
|
"pathPattern": "/planner/buckets/{plannerBucket-id}",
|
|
@@ -1616,6 +1677,7 @@
|
|
|
1616
1677
|
"toolName": "update-planner-bucket",
|
|
1617
1678
|
"presets": ["tasks", "work"],
|
|
1618
1679
|
"scopes": ["Tasks.ReadWrite"],
|
|
1680
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1619
1681
|
"llmTip": "CRITICAL: Requires If-Match header with ETag from get-planner-bucket (use includeHeaders=true)."
|
|
1620
1682
|
},
|
|
1621
1683
|
{
|
|
@@ -1624,6 +1686,7 @@
|
|
|
1624
1686
|
"toolName": "delete-planner-bucket",
|
|
1625
1687
|
"presets": ["tasks", "work"],
|
|
1626
1688
|
"scopes": ["Tasks.ReadWrite"],
|
|
1689
|
+
"appScopes": ["Tasks.ReadWrite.All"],
|
|
1627
1690
|
"llmTip": "CRITICAL: Requires If-Match header with ETag from get-planner-bucket (use includeHeaders=true)."
|
|
1628
1691
|
},
|
|
1629
1692
|
{
|
|
@@ -1749,6 +1812,7 @@
|
|
|
1749
1812
|
"toolName": "list-user-direct-reports",
|
|
1750
1813
|
"presets": ["users", "work"],
|
|
1751
1814
|
"workScopes": ["User.Read.All"],
|
|
1815
|
+
"appScopes": [["User.Read.All"], ["Directory.Read.All"]],
|
|
1752
1816
|
"llmTip": "Lists users who report directly to a specific user. Use with get-user-manager to traverse the org hierarchy."
|
|
1753
1817
|
},
|
|
1754
1818
|
{
|
|
@@ -1773,6 +1837,12 @@
|
|
|
1773
1837
|
"toolName": "list-groups",
|
|
1774
1838
|
"presets": ["work"],
|
|
1775
1839
|
"workScopes": ["Group.Read.All"],
|
|
1840
|
+
"appScopes": [
|
|
1841
|
+
["Group.ReadBasic.All"],
|
|
1842
|
+
["GroupMember.Read.All"],
|
|
1843
|
+
["Group.Read.All"],
|
|
1844
|
+
["Directory.Read.All"]
|
|
1845
|
+
],
|
|
1776
1846
|
"llmTip": "Lists organization groups (Microsoft 365 groups, security groups, distribution lists). Use $filter=groupTypes/any(g:g eq 'Unified') for M365 groups only. Use $filter=mailEnabled eq true and securityEnabled eq false for distribution lists. Use $search=\"displayName:keyword\" to search by name (requires ConsistencyLevel: eventual header). Use $select to limit fields."
|
|
1777
1847
|
},
|
|
1778
1848
|
{
|
|
@@ -1781,6 +1851,12 @@
|
|
|
1781
1851
|
"toolName": "get-group",
|
|
1782
1852
|
"presets": ["work"],
|
|
1783
1853
|
"workScopes": ["Group.Read.All"],
|
|
1854
|
+
"appScopes": [
|
|
1855
|
+
["Group.ReadBasic.All"],
|
|
1856
|
+
["GroupMember.Read.All"],
|
|
1857
|
+
["Group.Read.All"],
|
|
1858
|
+
["Directory.Read.All"]
|
|
1859
|
+
],
|
|
1784
1860
|
"llmTip": "Gets a specific group's details: displayName, description, mail, visibility, groupTypes, membershipRule, createdDateTime. Use $select to limit returned properties."
|
|
1785
1861
|
},
|
|
1786
1862
|
{
|
|
@@ -1805,6 +1881,13 @@
|
|
|
1805
1881
|
"toolName": "list-group-members",
|
|
1806
1882
|
"presets": ["work"],
|
|
1807
1883
|
"workScopes": ["GroupMember.Read.All"],
|
|
1884
|
+
"appScopes": [
|
|
1885
|
+
["GroupMember.ReadBasic.All"],
|
|
1886
|
+
["Directory.Read.All"],
|
|
1887
|
+
["Group.Read.All"],
|
|
1888
|
+
["Group.ReadBasic.All"],
|
|
1889
|
+
["GroupMember.Read.All"]
|
|
1890
|
+
],
|
|
1808
1891
|
"llmTip": "Lists members of a group. Returns directoryObjects with displayName, mail, jobTitle, userPrincipalName. Use $select to limit fields. Use $top and pagination for large groups."
|
|
1809
1892
|
},
|
|
1810
1893
|
{
|
|
@@ -1813,6 +1896,7 @@
|
|
|
1813
1896
|
"toolName": "list-group-owners",
|
|
1814
1897
|
"presets": ["work"],
|
|
1815
1898
|
"workScopes": ["GroupMember.Read.All"],
|
|
1899
|
+
"appScopes": [["GroupMember.Read.All"], ["Directory.Read.All"], ["Group.Read.All"]],
|
|
1816
1900
|
"llmTip": "Lists owners of a group. Owners can manage group settings and membership. Returns directoryObjects with displayName, mail, userPrincipalName."
|
|
1817
1901
|
},
|
|
1818
1902
|
{
|
|
@@ -1829,7 +1913,8 @@
|
|
|
1829
1913
|
"method": "get",
|
|
1830
1914
|
"toolName": "get-chat",
|
|
1831
1915
|
"presets": ["teams", "teams-write", "work"],
|
|
1832
|
-
"workScopes": ["Chat.ReadBasic"]
|
|
1916
|
+
"workScopes": ["Chat.ReadBasic"],
|
|
1917
|
+
"appScopes": [["Chat.ReadBasic.All"], ["Chat.ReadBasic.WhereInstalled"], ["Chat.Read.All"]]
|
|
1833
1918
|
},
|
|
1834
1919
|
{
|
|
1835
1920
|
"pathPattern": "/chats/{chat-id}/members",
|
|
@@ -1837,6 +1922,7 @@
|
|
|
1837
1922
|
"toolName": "list-chat-members",
|
|
1838
1923
|
"presets": ["teams", "work"],
|
|
1839
1924
|
"workScopes": ["ChatMember.Read"],
|
|
1925
|
+
"appScopes": [["ChatMember.Read.All"], ["Chat.ReadBasic.All"], ["Chat.Read.All"]],
|
|
1840
1926
|
"nameFilter": true,
|
|
1841
1927
|
"llmTip": "Lists members of a chat. Each member has displayName, email, roles (owner/guest), and visibleHistoryStartDateTime. For meeting chats, use the chatInfo.threadId from get-online-meeting as the chat-id to see who participated in the meeting chat. Pass name to keep only members whose displayName or email contains that text (case-insensitive); use the returned userId in an @mention."
|
|
1842
1928
|
},
|
|
@@ -1846,6 +1932,7 @@
|
|
|
1846
1932
|
"toolName": "list-chat-messages",
|
|
1847
1933
|
"presets": ["teams", "work"],
|
|
1848
1934
|
"workScopes": ["ChatMessage.Read"],
|
|
1935
|
+
"appScopes": ["Chat.Read.All"],
|
|
1849
1936
|
"llmTip": "Lists messages in a chat. $top is capped at 50 (higher values return 400) and $orderby accepts only descending order on createdDateTime or lastModifiedDateTime - ascending is rejected. Meeting chats mostly hold system events; transcripts are not available here, use list-meeting-transcripts instead."
|
|
1850
1937
|
},
|
|
1851
1938
|
{
|
|
@@ -1853,7 +1940,8 @@
|
|
|
1853
1940
|
"method": "get",
|
|
1854
1941
|
"toolName": "get-chat-message",
|
|
1855
1942
|
"presets": ["teams", "work"],
|
|
1856
|
-
"workScopes": ["ChatMessage.Read"]
|
|
1943
|
+
"workScopes": ["ChatMessage.Read"],
|
|
1944
|
+
"appScopes": ["Chat.Read.All"]
|
|
1857
1945
|
},
|
|
1858
1946
|
{
|
|
1859
1947
|
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}",
|
|
@@ -1870,6 +1958,7 @@
|
|
|
1870
1958
|
"toolName": "list-chat-message-hosted-contents",
|
|
1871
1959
|
"presets": ["teams", "work"],
|
|
1872
1960
|
"workScopes": ["ChatMessage.Read"],
|
|
1961
|
+
"appScopes": ["Chat.Read.All"],
|
|
1873
1962
|
"llmTip": "Lists hosted-content references (inline images, code snippets) attached to a Teams chat message. Returns { id, contentType } per item. To download bytes, call download-bytes with target=/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{id}/$value. IDs can also be extracted from the <img src> URL in the message body between /hostedContents/ and /$value."
|
|
1874
1963
|
},
|
|
1875
1964
|
{
|
|
@@ -1896,6 +1985,7 @@
|
|
|
1896
1985
|
"apiVersion": "beta",
|
|
1897
1986
|
"presets": ["teams", "work"],
|
|
1898
1987
|
"workScopes": ["TeamworkCustomEmoji.Read"],
|
|
1988
|
+
"appScopes": ["TeamworkCustomEmoji.Read.All"],
|
|
1899
1989
|
"queryParams": ["top", "filter", "select", "skiptoken"],
|
|
1900
1990
|
"llmTip": "Lists the organization's custom Teams emojis, including displayName, createdBy and createdDateTime. Graph can return contentBytes: null by default; request select='displayName,contentBytes' (or a string array) to retrieve base64 PNG/GIF images. Supports $top, $filter and $select. Image bytes can make responses large: use a small $top when selecting contentBytes; use fetchAllPages only for an explicitly requested export. displayName is the unique key, not an id. Work/school accounts only. Microsoft Graph beta API: subject to change."
|
|
1901
1991
|
},
|
|
@@ -1906,6 +1996,7 @@
|
|
|
1906
1996
|
"apiVersion": "beta",
|
|
1907
1997
|
"presets": ["teams", "work"],
|
|
1908
1998
|
"workScopes": ["TeamworkCustomEmoji.Create"],
|
|
1999
|
+
"appScopes": ["TeamworkCustomEmoji.Create.All"],
|
|
1909
2000
|
"requestBodySchema": {
|
|
1910
2001
|
"type": "object",
|
|
1911
2002
|
"required": ["displayName", "contentBytes"],
|
|
@@ -1928,42 +2019,67 @@
|
|
|
1928
2019
|
"method": "get",
|
|
1929
2020
|
"toolName": "get-team",
|
|
1930
2021
|
"presets": ["teams", "teams-write", "work"],
|
|
1931
|
-
"workScopes": ["Team.ReadBasic.All"]
|
|
2022
|
+
"workScopes": ["Team.ReadBasic.All"],
|
|
2023
|
+
"appScopes": [
|
|
2024
|
+
["Team.ReadBasic.All"],
|
|
2025
|
+
["TeamSettings.Read.All"],
|
|
2026
|
+
["Group.Read.All"],
|
|
2027
|
+
["Directory.Read.All"]
|
|
2028
|
+
]
|
|
1932
2029
|
},
|
|
1933
2030
|
{
|
|
1934
2031
|
"pathPattern": "/teams/{team-id}/channels",
|
|
1935
2032
|
"method": "get",
|
|
1936
2033
|
"toolName": "list-team-channels",
|
|
1937
2034
|
"presets": ["teams", "teams-write", "work"],
|
|
1938
|
-
"workScopes": ["Channel.ReadBasic.All"]
|
|
2035
|
+
"workScopes": ["Channel.ReadBasic.All"],
|
|
2036
|
+
"appScopes": [
|
|
2037
|
+
["Channel.ReadBasic.All"],
|
|
2038
|
+
["ChannelSettings.Read.All"],
|
|
2039
|
+
["Directory.Read.All"],
|
|
2040
|
+
["Group.Read.All"]
|
|
2041
|
+
]
|
|
1939
2042
|
},
|
|
1940
2043
|
{
|
|
1941
2044
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}",
|
|
1942
2045
|
"method": "get",
|
|
1943
2046
|
"toolName": "get-team-channel",
|
|
1944
2047
|
"presets": ["teams", "teams-write", "work"],
|
|
1945
|
-
"workScopes": ["Channel.ReadBasic.All"]
|
|
2048
|
+
"workScopes": ["Channel.ReadBasic.All"],
|
|
2049
|
+
"appScopes": [
|
|
2050
|
+
["Channel.ReadBasic.All"],
|
|
2051
|
+
["ChannelSettings.Read.All"],
|
|
2052
|
+
["Directory.Read.All"],
|
|
2053
|
+
["Group.Read.All"]
|
|
2054
|
+
]
|
|
1946
2055
|
},
|
|
1947
2056
|
{
|
|
1948
2057
|
"pathPattern": "/teams/{team-id}/channels",
|
|
1949
2058
|
"method": "post",
|
|
1950
2059
|
"toolName": "create-team-channel",
|
|
1951
2060
|
"presets": ["teams", "work"],
|
|
1952
|
-
"workScopes": ["Channel.Create"]
|
|
2061
|
+
"workScopes": ["Channel.Create"],
|
|
2062
|
+
"appScopes": [["Channel.Create"], ["Directory.ReadWrite.All"], ["Group.ReadWrite.All"]]
|
|
1953
2063
|
},
|
|
1954
2064
|
{
|
|
1955
2065
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}",
|
|
1956
2066
|
"method": "patch",
|
|
1957
2067
|
"toolName": "update-team-channel",
|
|
1958
2068
|
"presets": ["teams", "work"],
|
|
1959
|
-
"workScopes": ["ChannelSettings.ReadWrite.All"]
|
|
2069
|
+
"workScopes": ["ChannelSettings.ReadWrite.All"],
|
|
2070
|
+
"appScopes": [
|
|
2071
|
+
["ChannelSettings.ReadWrite.All"],
|
|
2072
|
+
["Directory.ReadWrite.All"],
|
|
2073
|
+
["Group.ReadWrite.All"]
|
|
2074
|
+
]
|
|
1960
2075
|
},
|
|
1961
2076
|
{
|
|
1962
2077
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}",
|
|
1963
2078
|
"method": "delete",
|
|
1964
2079
|
"toolName": "delete-team-channel",
|
|
1965
2080
|
"presets": ["teams", "work"],
|
|
1966
|
-
"workScopes": ["Channel.Delete.All"]
|
|
2081
|
+
"workScopes": ["Channel.Delete.All"],
|
|
2082
|
+
"appScopes": [["Channel.Delete.All"], ["Directory.ReadWrite.All"], ["Group.ReadWrite.All"]]
|
|
1967
2083
|
},
|
|
1968
2084
|
{
|
|
1969
2085
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages",
|
|
@@ -1971,6 +2087,7 @@
|
|
|
1971
2087
|
"toolName": "list-channel-messages",
|
|
1972
2088
|
"presets": ["teams", "work"],
|
|
1973
2089
|
"workScopes": ["ChannelMessage.Read.All"],
|
|
2090
|
+
"appScopes": [["ChannelMessage.Read.All"], ["Group.Read.All"]],
|
|
1974
2091
|
"queryParams": ["top", "expand", "skiptoken"]
|
|
1975
2092
|
},
|
|
1976
2093
|
{
|
|
@@ -1978,7 +2095,8 @@
|
|
|
1978
2095
|
"method": "get",
|
|
1979
2096
|
"toolName": "get-channel-message",
|
|
1980
2097
|
"presets": ["teams", "work"],
|
|
1981
|
-
"workScopes": ["ChannelMessage.Read.All"]
|
|
2098
|
+
"workScopes": ["ChannelMessage.Read.All"],
|
|
2099
|
+
"appScopes": [["ChannelMessage.Read.All"], ["Group.Read.All"]]
|
|
1982
2100
|
},
|
|
1983
2101
|
{
|
|
1984
2102
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}",
|
|
@@ -1995,6 +2113,7 @@
|
|
|
1995
2113
|
"toolName": "list-channel-message-hosted-contents",
|
|
1996
2114
|
"presets": ["teams", "work"],
|
|
1997
2115
|
"workScopes": ["ChannelMessage.Read.All"],
|
|
2116
|
+
"appScopes": ["ChannelMessage.Read.All"],
|
|
1998
2117
|
"llmTip": "Lists hosted-content references (inline images, code snippets) attached to a Teams channel message. Returns { id, contentType } per item. To download bytes, call download-bytes with target=/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{id}/$value."
|
|
1999
2118
|
},
|
|
2000
2119
|
{
|
|
@@ -2021,6 +2140,7 @@
|
|
|
2021
2140
|
"toolName": "list-channel-message-replies",
|
|
2022
2141
|
"presets": ["teams", "work"],
|
|
2023
2142
|
"workScopes": ["ChannelMessage.Read.All"],
|
|
2143
|
+
"appScopes": [["ChannelMessage.Read.All"], ["Group.Read.All"]],
|
|
2024
2144
|
"queryParams": ["top", "skiptoken"]
|
|
2025
2145
|
},
|
|
2026
2146
|
{
|
|
@@ -2037,21 +2157,30 @@
|
|
|
2037
2157
|
"method": "post",
|
|
2038
2158
|
"toolName": "add-team-member",
|
|
2039
2159
|
"presets": ["teams", "work"],
|
|
2040
|
-
"workScopes": ["TeamMember.ReadWrite.All"]
|
|
2160
|
+
"workScopes": ["TeamMember.ReadWrite.All"],
|
|
2161
|
+
"appScopes": [["TeamMember.ReadWriteNonOwnerRole.All"], ["TeamMember.ReadWrite.All"]]
|
|
2041
2162
|
},
|
|
2042
2163
|
{
|
|
2043
2164
|
"pathPattern": "/teams/{team-id}/members/{conversationMember-id}",
|
|
2044
2165
|
"method": "delete",
|
|
2045
2166
|
"toolName": "remove-team-member",
|
|
2046
2167
|
"presets": ["teams", "work"],
|
|
2047
|
-
"workScopes": ["TeamMember.ReadWrite.All"]
|
|
2168
|
+
"workScopes": ["TeamMember.ReadWrite.All"],
|
|
2169
|
+
"appScopes": [["TeamMember.ReadWriteNonOwnerRole.All"], ["TeamMember.ReadWrite.All"]]
|
|
2048
2170
|
},
|
|
2049
2171
|
{
|
|
2050
2172
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/tabs",
|
|
2051
2173
|
"method": "get",
|
|
2052
2174
|
"toolName": "list-channel-tabs",
|
|
2053
2175
|
"presets": ["teams", "work"],
|
|
2054
|
-
"workScopes": ["TeamsTab.Read.All"]
|
|
2176
|
+
"workScopes": ["TeamsTab.Read.All"],
|
|
2177
|
+
"appScopes": [
|
|
2178
|
+
["TeamsTab.Read.All"],
|
|
2179
|
+
["TeamsTab.ReadWriteSelfForTeam.All"],
|
|
2180
|
+
["TeamsTab.ReadWriteForTeam.All"],
|
|
2181
|
+
["Group.Read.All"],
|
|
2182
|
+
["Directory.Read.All"]
|
|
2183
|
+
]
|
|
2055
2184
|
},
|
|
2056
2185
|
{
|
|
2057
2186
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/tabs",
|
|
@@ -2059,6 +2188,14 @@
|
|
|
2059
2188
|
"toolName": "create-channel-tab",
|
|
2060
2189
|
"presets": ["teams", "work"],
|
|
2061
2190
|
"workScopes": ["TeamsTab.Create"],
|
|
2191
|
+
"appScopes": [
|
|
2192
|
+
["TeamsTab.Create"],
|
|
2193
|
+
["TeamsTab.ReadWriteSelfForTeam.All"],
|
|
2194
|
+
["TeamsTab.ReadWriteForTeam.All"],
|
|
2195
|
+
["TeamsTab.ReadWrite.All"],
|
|
2196
|
+
["Group.ReadWrite.All"],
|
|
2197
|
+
["Directory.ReadWrite.All"]
|
|
2198
|
+
],
|
|
2062
2199
|
"llmTip": "Body: {\"displayName\": \"...\", \"teamsApp@odata.bind\": \"https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{teamsAppId}\", \"configuration\": {\"entityId\": ..., \"contentUrl\": ..., \"websiteUrl\": ..., \"removeUrl\": ...}}. Built-in app ids: website com.microsoft.teamspace.tab.web, document library com.microsoft.teamspace.tab.files.sharepoint, Planner com.microsoft.teamspace.tab.planner (see https://learn.microsoft.com/graph/teams-configuring-builtin-tabs). Planner tab for a basic plan (create it first with create-planner-plan): entityId \"planner.v1.{new-guid}_p_{planId}\"; contentUrl \"https://tasks.teams.microsoft.com/teamsui/{tid}/Home/PlannerFrame?page=7&auth_pvr=OrgId&auth_upn={userPrincipalName}&groupId={groupId}&planRoute=/v1/plan/{planId}&subEntityId={subEntityId}&channelId={channelId}&entityId={entityId}&tid={tid}&userObjectId={userObjectId}&sessionId={sessionId}&theme={theme}&mkt={locale}&ringId={ringId}&PlannerRouteHint={tid}&tabVersion=20200228.1_s\"; removeUrl the same with page=13; websiteUrl \"https://planner.cloud.microsoft/webui/v1/plan/{planId}?tid={tenantId}\". Replace only {planId}, {new-guid} and {tenantId} with real values; every other {placeholder} must stay literal, Teams fills it in. A tasks.office.com URL or a missing placeholder renders an error inside the tab."
|
|
2063
2200
|
},
|
|
2064
2201
|
{
|
|
@@ -2081,6 +2218,7 @@
|
|
|
2081
2218
|
"toolName": "list-team-members",
|
|
2082
2219
|
"presets": ["teams", "work"],
|
|
2083
2220
|
"workScopes": ["TeamMember.Read.All"],
|
|
2221
|
+
"appScopes": ["TeamMember.Read.All"],
|
|
2084
2222
|
"nameFilter": true,
|
|
2085
2223
|
"llmTip": "Lists members of a team. Each member has displayName, email, roles and userId. Pass name to keep only members whose displayName or email contains that text (case-insensitive); use the returned userId in an @mention."
|
|
2086
2224
|
},
|
|
@@ -2090,6 +2228,7 @@
|
|
|
2090
2228
|
"toolName": "get-channel-files-folder",
|
|
2091
2229
|
"presets": ["teams", "work"],
|
|
2092
2230
|
"workScopes": ["ChannelSettings.Read.All"],
|
|
2231
|
+
"appScopes": [["Files.Read.All"], ["Group.Read.All"], ["Sites.Read.All"]],
|
|
2093
2232
|
"llmTip": "Gets the SharePoint driveItem (folder) that contains the files for a Teams channel. Returns id, name, webUrl, and parentReference with driveId. Use the driveId and id with OneDrive/SharePoint endpoints (list-folder-files) to browse and download channel files."
|
|
2094
2233
|
},
|
|
2095
2234
|
{
|
|
@@ -2127,42 +2266,48 @@
|
|
|
2127
2266
|
"method": "get",
|
|
2128
2267
|
"toolName": "list-pinned-chat-messages",
|
|
2129
2268
|
"presets": ["teams", "work"],
|
|
2130
|
-
"workScopes": ["Chat.Read"]
|
|
2269
|
+
"workScopes": ["Chat.Read"],
|
|
2270
|
+
"appScopes": [["ChatMessage.Read.All"], ["Chat.Read.All"]]
|
|
2131
2271
|
},
|
|
2132
2272
|
{
|
|
2133
2273
|
"pathPattern": "/chats/{chat-id}/pinnedMessages",
|
|
2134
2274
|
"method": "post",
|
|
2135
2275
|
"toolName": "pin-chat-message",
|
|
2136
2276
|
"presets": ["teams", "work"],
|
|
2137
|
-
"workScopes": ["ChatMessage.Send"]
|
|
2277
|
+
"workScopes": ["ChatMessage.Send"],
|
|
2278
|
+
"appScopes": ["Chat.ReadWrite.All"]
|
|
2138
2279
|
},
|
|
2139
2280
|
{
|
|
2140
2281
|
"pathPattern": "/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}",
|
|
2141
2282
|
"method": "delete",
|
|
2142
2283
|
"toolName": "unpin-chat-message",
|
|
2143
2284
|
"presets": ["teams", "work"],
|
|
2144
|
-
"workScopes": ["Chat.ReadWrite"]
|
|
2285
|
+
"workScopes": ["Chat.ReadWrite"],
|
|
2286
|
+
"appScopes": ["Chat.ReadWrite.All"]
|
|
2145
2287
|
},
|
|
2146
2288
|
{
|
|
2147
2289
|
"pathPattern": "/sites",
|
|
2148
2290
|
"method": "get",
|
|
2149
2291
|
"toolName": "search-sharepoint-sites",
|
|
2150
2292
|
"presets": ["search", "work"],
|
|
2151
|
-
"workScopes": ["Sites.Read.All"]
|
|
2293
|
+
"workScopes": ["Sites.Read.All"],
|
|
2294
|
+
"appScopes": ["Sites.Read.All"]
|
|
2152
2295
|
},
|
|
2153
2296
|
{
|
|
2154
2297
|
"pathPattern": "/sites/{site-id}",
|
|
2155
2298
|
"method": "get",
|
|
2156
2299
|
"toolName": "get-sharepoint-site",
|
|
2157
2300
|
"presets": ["work"],
|
|
2158
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2301
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2302
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2159
2303
|
},
|
|
2160
2304
|
{
|
|
2161
2305
|
"pathPattern": "/sites/{site-id}/drives",
|
|
2162
2306
|
"method": "get",
|
|
2163
2307
|
"toolName": "list-sharepoint-site-drives",
|
|
2164
2308
|
"presets": ["work"],
|
|
2165
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2309
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2310
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]]
|
|
2166
2311
|
},
|
|
2167
2312
|
{
|
|
2168
2313
|
"pathPattern": "/sites/{site-id}/drives/{drive-id}",
|
|
@@ -2176,28 +2321,32 @@
|
|
|
2176
2321
|
"method": "get",
|
|
2177
2322
|
"toolName": "list-sharepoint-site-items",
|
|
2178
2323
|
"presets": ["work"],
|
|
2179
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2324
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2325
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2180
2326
|
},
|
|
2181
2327
|
{
|
|
2182
2328
|
"pathPattern": "/sites/{site-id}/items/{baseItem-id}",
|
|
2183
2329
|
"method": "get",
|
|
2184
2330
|
"toolName": "get-sharepoint-site-item",
|
|
2185
2331
|
"presets": ["work"],
|
|
2186
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2332
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2333
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2187
2334
|
},
|
|
2188
2335
|
{
|
|
2189
2336
|
"pathPattern": "/sites/{site-id}/lists",
|
|
2190
2337
|
"method": "get",
|
|
2191
2338
|
"toolName": "list-sharepoint-site-lists",
|
|
2192
2339
|
"presets": ["work"],
|
|
2193
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2340
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2341
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2194
2342
|
},
|
|
2195
2343
|
{
|
|
2196
2344
|
"pathPattern": "/sites/{site-id}/lists/{list-id}",
|
|
2197
2345
|
"method": "get",
|
|
2198
2346
|
"toolName": "get-sharepoint-site-list",
|
|
2199
2347
|
"presets": ["work"],
|
|
2200
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2348
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2349
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2201
2350
|
},
|
|
2202
2351
|
{
|
|
2203
2352
|
"pathPattern": "/sites/{site-id}/lists/{list-id}/items",
|
|
@@ -2205,6 +2354,7 @@
|
|
|
2205
2354
|
"toolName": "list-sharepoint-site-list-items",
|
|
2206
2355
|
"presets": ["work"],
|
|
2207
2356
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2357
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2208
2358
|
"llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
|
|
2209
2359
|
},
|
|
2210
2360
|
{
|
|
@@ -2213,6 +2363,7 @@
|
|
|
2213
2363
|
"toolName": "get-sharepoint-site-list-item",
|
|
2214
2364
|
"presets": ["work"],
|
|
2215
2365
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2366
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Manage.All"], ["Sites.Selected"]],
|
|
2216
2367
|
"llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
|
|
2217
2368
|
},
|
|
2218
2369
|
{
|
|
@@ -2221,6 +2372,7 @@
|
|
|
2221
2372
|
"toolName": "list-sharepoint-site-list-items-delta",
|
|
2222
2373
|
"presets": ["work"],
|
|
2223
2374
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2375
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2224
2376
|
"queryParams": ["select", "expand", "top"]
|
|
2225
2377
|
},
|
|
2226
2378
|
{
|
|
@@ -2228,14 +2380,16 @@
|
|
|
2228
2380
|
"method": "get",
|
|
2229
2381
|
"toolName": "list-sharepoint-site-list-item-versions",
|
|
2230
2382
|
"presets": ["work"],
|
|
2231
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2383
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2384
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2232
2385
|
},
|
|
2233
2386
|
{
|
|
2234
2387
|
"pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",
|
|
2235
2388
|
"method": "get",
|
|
2236
2389
|
"toolName": "get-sharepoint-site-list-item-version",
|
|
2237
2390
|
"presets": ["work"],
|
|
2238
|
-
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2391
|
+
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2392
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]]
|
|
2239
2393
|
},
|
|
2240
2394
|
{
|
|
2241
2395
|
"pathPattern": "/sites/{site-id}/lists/{list-id}/items",
|
|
@@ -2243,6 +2397,7 @@
|
|
|
2243
2397
|
"toolName": "create-sharepoint-list-item",
|
|
2244
2398
|
"presets": ["work"],
|
|
2245
2399
|
"workScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2400
|
+
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2246
2401
|
"llmTip": "Creates a new item in a SharePoint list. Body: { fields: { Title: 'Item name', ColumnName: 'value', ... } }. Use list-sharepoint-site-lists to find the list ID and get-sharepoint-site-list to discover available columns."
|
|
2247
2402
|
},
|
|
2248
2403
|
{
|
|
@@ -2251,6 +2406,7 @@
|
|
|
2251
2406
|
"toolName": "update-sharepoint-list-item",
|
|
2252
2407
|
"presets": ["work"],
|
|
2253
2408
|
"workScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2409
|
+
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2254
2410
|
"llmTip": "Updates fields on an existing list item. Body: { fields: { ColumnName: 'new value' } }. Send only the fields you want to change. Use $expand=fields on get-sharepoint-site-list-item to see current values first."
|
|
2255
2411
|
},
|
|
2256
2412
|
{
|
|
@@ -2259,6 +2415,7 @@
|
|
|
2259
2415
|
"toolName": "delete-sharepoint-list-item",
|
|
2260
2416
|
"presets": ["work"],
|
|
2261
2417
|
"workScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2418
|
+
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2262
2419
|
"llmTip": "Deletes a list item permanently. This cannot be undone — the item is moved to the site recycle bin."
|
|
2263
2420
|
},
|
|
2264
2421
|
{
|
|
@@ -2267,6 +2424,7 @@
|
|
|
2267
2424
|
"toolName": "create-sharepoint-list",
|
|
2268
2425
|
"presets": ["work"],
|
|
2269
2426
|
"workScopes": [["Sites.Manage.All"], ["Sites.Selected"]],
|
|
2427
|
+
"appScopes": [["Sites.Manage.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
2270
2428
|
"llmTip": "Creates a new SharePoint list in a site. Body: { displayName: 'My List', description: 'Optional', list: { template: 'genericList' }, columns: [ { name: 'Status', text: {} }, { name: 'Due', dateTime: {} } ] }. Templates include genericList, documentLibrary, tasks, calendar, contacts, links, announcements, survey. Columns can be defined inline at creation; otherwise add them later via create-sharepoint-list-column. Use search-sharepoint-sites or get-sharepoint-site-by-path to find the site ID first."
|
|
2271
2429
|
},
|
|
2272
2430
|
{
|
|
@@ -2275,6 +2433,12 @@
|
|
|
2275
2433
|
"toolName": "list-sharepoint-list-columns",
|
|
2276
2434
|
"presets": ["work"],
|
|
2277
2435
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2436
|
+
"appScopes": [
|
|
2437
|
+
["Sites.Read.All"],
|
|
2438
|
+
["Sites.Manage.All"],
|
|
2439
|
+
["Sites.FullControl.All"],
|
|
2440
|
+
["Sites.Selected"]
|
|
2441
|
+
],
|
|
2278
2442
|
"llmTip": "Lists column definitions for a SharePoint list. Returns each column's id, name, displayName, description, type indicator (text, number, choice, dateTime, person, lookup, boolean, calculated, hyperlinkOrPicture, etc.), required, indexed, hidden, readOnly. Use this to discover the schema before creating or updating list items."
|
|
2279
2443
|
},
|
|
2280
2444
|
{
|
|
@@ -2283,6 +2447,7 @@
|
|
|
2283
2447
|
"toolName": "create-sharepoint-list-column",
|
|
2284
2448
|
"presets": ["work"],
|
|
2285
2449
|
"workScopes": [["Sites.Manage.All"], ["Sites.Selected"]],
|
|
2450
|
+
"appScopes": [["Sites.Manage.All"], ["Sites.FullControl.All"], ["Sites.Selected"]],
|
|
2286
2451
|
"llmTip": "Creates a new column on a SharePoint list. Body must include name and exactly one column type property: { name: 'Priority', text: {} } or { name: 'DueDate', dateTime: { format: 'dateOnly' } } or { name: 'Status', choice: { choices: ['Open','In Progress','Done'] } }. Other types: number, boolean, currency, hyperlinkOrPicture, personOrGroup, lookup, calculated. Optional: displayName, description, required, indexed, enforceUniqueValues."
|
|
2287
2452
|
},
|
|
2288
2453
|
{
|
|
@@ -2291,6 +2456,12 @@
|
|
|
2291
2456
|
"toolName": "get-sharepoint-list-column",
|
|
2292
2457
|
"presets": ["work"],
|
|
2293
2458
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2459
|
+
"appScopes": [
|
|
2460
|
+
["Sites.Read.All"],
|
|
2461
|
+
["Sites.Manage.All"],
|
|
2462
|
+
["Sites.FullControl.All"],
|
|
2463
|
+
["Sites.Selected"]
|
|
2464
|
+
],
|
|
2294
2465
|
"llmTip": "Gets a specific column definition by ID, including its full type configuration (choices for choice columns, format for dateTime, etc.). Use list-sharepoint-list-columns first to find the column ID."
|
|
2295
2466
|
},
|
|
2296
2467
|
{
|
|
@@ -2299,6 +2470,7 @@
|
|
|
2299
2470
|
"toolName": "update-sharepoint-list-column",
|
|
2300
2471
|
"presets": ["work"],
|
|
2301
2472
|
"workScopes": [["Sites.Manage.All"], ["Sites.Selected"]],
|
|
2473
|
+
"appScopes": [["Sites.Manage.All"], ["Sites.FullControl.All"], ["Sites.Selected"]],
|
|
2302
2474
|
"llmTip": "Updates a column definition. Body: { displayName: 'New name', description: 'New description', required: true, ... }. The column type itself (text, choice, etc.) cannot be changed — only its metadata and per-type options (e.g. choices array for a choice column). Send only the fields you want to change."
|
|
2303
2475
|
},
|
|
2304
2476
|
{
|
|
@@ -2307,6 +2479,7 @@
|
|
|
2307
2479
|
"toolName": "delete-sharepoint-list-column",
|
|
2308
2480
|
"presets": ["work"],
|
|
2309
2481
|
"workScopes": [["Sites.Manage.All"], ["Sites.Selected"]],
|
|
2482
|
+
"appScopes": [["Sites.Manage.All"], ["Sites.FullControl.All"], ["Sites.Selected"]],
|
|
2310
2483
|
"llmTip": "Deletes a column from a SharePoint list. This is irreversible — all data stored in this column across every list item is lost. Confirm with the user before calling. Cannot delete built-in columns (Title, Created, Modified, etc.)."
|
|
2311
2484
|
},
|
|
2312
2485
|
{
|
|
@@ -2315,6 +2488,7 @@
|
|
|
2315
2488
|
"toolName": "get-sharepoint-site-by-path",
|
|
2316
2489
|
"presets": ["work"],
|
|
2317
2490
|
"workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2491
|
+
"appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
|
|
2318
2492
|
"skipEncoding": ["path"],
|
|
2319
2493
|
"llmTip": "Resolve a SharePoint site from its server-relative URL. site-id is the hostname (contoso.sharepoint.com) and path is the site path without a leading slash (sites/marketing, teams/hr). Returns the site object whose id feeds list-sharepoint-site-drives."
|
|
2320
2494
|
},
|
|
@@ -2323,7 +2497,8 @@
|
|
|
2323
2497
|
"method": "get",
|
|
2324
2498
|
"toolName": "get-sharepoint-sites-delta",
|
|
2325
2499
|
"presets": ["work"],
|
|
2326
|
-
"workScopes": ["Sites.Read.All"]
|
|
2500
|
+
"workScopes": ["Sites.Read.All"],
|
|
2501
|
+
"appScopes": [["Sites.Read.All"], ["Sites.FullControl.All"], ["Sites.Manage.All"]]
|
|
2327
2502
|
},
|
|
2328
2503
|
{
|
|
2329
2504
|
"pathPattern": "/search/query",
|
|
@@ -2521,6 +2696,7 @@
|
|
|
2521
2696
|
"toolName": "list-group-conversations",
|
|
2522
2697
|
"presets": ["work"],
|
|
2523
2698
|
"workScopes": ["Group.Read.All"],
|
|
2699
|
+
"appScopes": [["Group-Conversation.Read.All"], ["Group.Read.All"]],
|
|
2524
2700
|
"llmTip": "Legacy — Microsoft recommends Teams channels instead of group conversations."
|
|
2525
2701
|
},
|
|
2526
2702
|
{
|
|
@@ -2529,6 +2705,7 @@
|
|
|
2529
2705
|
"toolName": "list-group-threads",
|
|
2530
2706
|
"presets": ["work"],
|
|
2531
2707
|
"workScopes": ["Group.Read.All"],
|
|
2708
|
+
"appScopes": [["Group-Conversation.Read.All"], ["Group.Read.All"]],
|
|
2532
2709
|
"llmTip": "Legacy — Microsoft recommends Teams channels instead of group threads."
|
|
2533
2710
|
},
|
|
2534
2711
|
{
|
|
@@ -2554,6 +2731,7 @@
|
|
|
2554
2731
|
"toolName": "get-user-presence",
|
|
2555
2732
|
"presets": ["teams", "work"],
|
|
2556
2733
|
"workScopes": ["Presence.Read.All"],
|
|
2734
|
+
"appScopes": ["Presence.Read.All"],
|
|
2557
2735
|
"llmTip": "Gets presence status for a specific user by their user ID or UPN (email). Returns availability and activity. Use list-users to find the user ID first."
|
|
2558
2736
|
},
|
|
2559
2737
|
{
|
|
@@ -2563,6 +2741,7 @@
|
|
|
2563
2741
|
"presets": ["teams", "work"],
|
|
2564
2742
|
"readOnly": true,
|
|
2565
2743
|
"workScopes": ["Presence.Read.All"],
|
|
2744
|
+
"appScopes": ["Presence.Read.All"],
|
|
2566
2745
|
"contentType": "application/json",
|
|
2567
2746
|
"llmTip": "Gets presence for multiple users in a single call. Body: { ids: ['user-id-1', 'user-id-2', ...] }. Returns array of presence objects. More efficient than calling get-user-presence for each user. Maximum 650 user IDs per request."
|
|
2568
2747
|
},
|
|
@@ -2572,6 +2751,7 @@
|
|
|
2572
2751
|
"toolName": "get-virtual-event-webinar",
|
|
2573
2752
|
"presets": ["teams", "work"],
|
|
2574
2753
|
"workScopes": ["VirtualEvent.Read"],
|
|
2754
|
+
"appScopes": ["VirtualEvent.Read.All"],
|
|
2575
2755
|
"llmTip": "Gets a specific webinar with full details: displayName, description, startDateTime, endDateTime, audience, coOrganizers, presenters, registrationConfiguration, and status."
|
|
2576
2756
|
},
|
|
2577
2757
|
{
|
|
@@ -2580,6 +2760,7 @@
|
|
|
2580
2760
|
"toolName": "list-webinar-sessions",
|
|
2581
2761
|
"presets": ["teams", "work"],
|
|
2582
2762
|
"workScopes": ["VirtualEvent.Read"],
|
|
2763
|
+
"appScopes": ["VirtualEvent.Read.All"],
|
|
2583
2764
|
"llmTip": "Lists sessions for a webinar. Each session has startDateTime, endDateTime, joinWebUrl, subject, and is essentially an online meeting associated with the webinar."
|
|
2584
2765
|
},
|
|
2585
2766
|
{
|
|
@@ -2588,6 +2769,7 @@
|
|
|
2588
2769
|
"toolName": "get-room",
|
|
2589
2770
|
"presets": ["calendar", "work"],
|
|
2590
2771
|
"workScopes": ["Place.Read.All"],
|
|
2772
|
+
"appScopes": ["Place.Read.All"],
|
|
2591
2773
|
"llmTip": "Gets a place cast as a room, returning room-specific properties: displayName, emailAddress (for booking), capacity, building, floorNumber, floorLabel, isWheelChairAccessible, audioDeviceName, videoDeviceName, displayDeviceName. The place-id can be the room's ID or email address."
|
|
2592
2774
|
},
|
|
2593
2775
|
{
|
|
@@ -2596,6 +2778,7 @@
|
|
|
2596
2778
|
"toolName": "get-room-list",
|
|
2597
2779
|
"presets": ["calendar", "work"],
|
|
2598
2780
|
"workScopes": ["Place.Read.All"],
|
|
2781
|
+
"appScopes": ["Place.Read.All"],
|
|
2599
2782
|
"llmTip": "Gets a place cast as a room list, returning room list properties: displayName, emailAddress, address. Use the place-id (ID or email address) of the room list. Then use list-room-list-rooms to get the rooms within this list."
|
|
2600
2783
|
},
|
|
2601
2784
|
{
|
|
@@ -2605,6 +2788,7 @@
|
|
|
2605
2788
|
"descriptionOverride": "List the meeting rooms that belong to a room list.",
|
|
2606
2789
|
"presets": ["calendar", "work"],
|
|
2607
2790
|
"workScopes": ["Place.Read.All"],
|
|
2791
|
+
"appScopes": ["Place.Read.All"],
|
|
2608
2792
|
"llmTip": "The place-id is the ID or email address of the room list (from get-room-list). Returns rooms with displayName, emailAddress, capacity, building, floorNumber, floorLabel, and AV equipment details. Combine with find-meeting-times to find available rooms for booking."
|
|
2609
2793
|
},
|
|
2610
2794
|
{
|
|
@@ -2614,6 +2798,7 @@
|
|
|
2614
2798
|
"descriptionOverride": "Get a single meeting room from a room list, by room ID.",
|
|
2615
2799
|
"presets": ["calendar", "work"],
|
|
2616
2800
|
"workScopes": ["Place.Read.All"],
|
|
2801
|
+
"appScopes": ["Place.Read.All"],
|
|
2617
2802
|
"llmTip": "The place-id is the room list ID or email, and room-id is the specific room ID. Returns full room details including capacity, building, floor, and AV equipment."
|
|
2618
2803
|
},
|
|
2619
2804
|
{
|
|
@@ -2622,6 +2807,7 @@
|
|
|
2622
2807
|
"toolName": "update-place",
|
|
2623
2808
|
"presets": ["calendar", "work"],
|
|
2624
2809
|
"workScopes": ["Place.ReadWrite.All"],
|
|
2810
|
+
"appScopes": ["Place.ReadWrite.All"],
|
|
2625
2811
|
"llmTip": "Updates properties of a place (room, room list, building, floor, section, desk, workspace). Body can include: displayName, phone, capacity, building, floorNumber, floorLabel, tags, audioDeviceName, videoDeviceName, displayDeviceName, isWheelChairAccessible. Use get-room or get-room-list to verify current values before updating."
|
|
2626
2812
|
},
|
|
2627
2813
|
{
|
|
@@ -2705,6 +2891,7 @@
|
|
|
2705
2891
|
"toolName": "create-group",
|
|
2706
2892
|
"presets": ["work"],
|
|
2707
2893
|
"workScopes": ["Group.ReadWrite.All"],
|
|
2894
|
+
"appScopes": [["Group.Create"], ["Directory.ReadWrite.All"], ["Group.ReadWrite.All"]],
|
|
2708
2895
|
"llmTip": "Creates a new group. Required body: { displayName, mailEnabled (bool), mailNickname (no spaces), securityEnabled (bool) }. For Microsoft 365 group: mailEnabled=true, securityEnabled=false, groupTypes=['Unified']. For security group: mailEnabled=false, securityEnabled=true, groupTypes=[]. Optional: description, visibility ('Public' or 'Private'), owners@odata.bind and members@odata.bind arrays with user directoryObject URLs."
|
|
2709
2896
|
},
|
|
2710
2897
|
{
|
|
@@ -2713,6 +2900,7 @@
|
|
|
2713
2900
|
"toolName": "update-group",
|
|
2714
2901
|
"presets": ["work"],
|
|
2715
2902
|
"workScopes": ["Group.ReadWrite.All"],
|
|
2903
|
+
"appScopes": [["Group.ReadWrite.All"], ["Directory.ReadWrite.All"]],
|
|
2716
2904
|
"llmTip": "Updates group properties. Body can include: displayName, description, visibility ('Public' or 'Private'), mailNickname. Use get-group to verify current values before updating."
|
|
2717
2905
|
},
|
|
2718
2906
|
{
|
|
@@ -2721,6 +2909,7 @@
|
|
|
2721
2909
|
"toolName": "delete-group",
|
|
2722
2910
|
"presets": ["work"],
|
|
2723
2911
|
"workScopes": ["Group.ReadWrite.All"],
|
|
2912
|
+
"appScopes": ["Group.ReadWrite.All"],
|
|
2724
2913
|
"llmTip": "Permanently deletes a group and all its associated resources (conversations, files, calendar, planner). This action is irreversible. Use get-group to verify the group before deleting."
|
|
2725
2914
|
},
|
|
2726
2915
|
{
|
|
@@ -2729,6 +2918,11 @@
|
|
|
2729
2918
|
"toolName": "add-group-member",
|
|
2730
2919
|
"presets": ["work"],
|
|
2731
2920
|
"workScopes": ["GroupMember.ReadWrite.All"],
|
|
2921
|
+
"appScopes": [
|
|
2922
|
+
["GroupMember.ReadWrite.All"],
|
|
2923
|
+
["Group.ReadWrite.All"],
|
|
2924
|
+
["Directory.ReadWrite.All"]
|
|
2925
|
+
],
|
|
2732
2926
|
"llmTip": "Adds a member to a group. Body: { '@odata.id': 'https://graph.microsoft.com/v1.0/directoryObjects/{user-id}' }. Use list-users to find the user ID first. The user must not already be a member."
|
|
2733
2927
|
},
|
|
2734
2928
|
{
|
|
@@ -2737,6 +2931,11 @@
|
|
|
2737
2931
|
"toolName": "remove-group-member",
|
|
2738
2932
|
"presets": ["work"],
|
|
2739
2933
|
"workScopes": ["GroupMember.ReadWrite.All"],
|
|
2934
|
+
"appScopes": [
|
|
2935
|
+
["GroupMember.ReadWrite.All"],
|
|
2936
|
+
["Directory.ReadWrite.All"],
|
|
2937
|
+
["Group.ReadWrite.All"]
|
|
2938
|
+
],
|
|
2740
2939
|
"llmTip": "Removes a member from a group. Use list-group-members to find the member's directory object ID first. Cannot remove the last owner of a group."
|
|
2741
2940
|
},
|
|
2742
2941
|
{
|
|
@@ -2745,6 +2944,7 @@
|
|
|
2745
2944
|
"toolName": "add-group-owner",
|
|
2746
2945
|
"presets": ["work"],
|
|
2747
2946
|
"workScopes": ["Group.ReadWrite.All"],
|
|
2947
|
+
"appScopes": [["Group.ReadWrite.All"], ["Directory.ReadWrite.All"]],
|
|
2748
2948
|
"llmTip": "Adds an owner to a group. Body: { '@odata.id': 'https://graph.microsoft.com/v1.0/users/{user-id}' }. Use list-users to find the user ID. A group can have a maximum of 100 owners."
|
|
2749
2949
|
},
|
|
2750
2950
|
{
|
|
@@ -2753,6 +2953,7 @@
|
|
|
2753
2953
|
"toolName": "remove-group-owner",
|
|
2754
2954
|
"presets": ["work"],
|
|
2755
2955
|
"workScopes": ["Group.ReadWrite.All"],
|
|
2956
|
+
"appScopes": [["Group.ReadWrite.All"], ["Directory.ReadWrite.All"]],
|
|
2756
2957
|
"llmTip": "Removes an owner from a group. A group must have at least one owner — this call fails if you try to remove the last owner. Use list-group-owners to find the owner's ID."
|
|
2757
2958
|
},
|
|
2758
2959
|
{
|
|
@@ -2761,6 +2962,7 @@
|
|
|
2761
2962
|
"toolName": "create-chat",
|
|
2762
2963
|
"presets": ["teams", "work"],
|
|
2763
2964
|
"workScopes": ["Chat.Create", "Chat.ReadWrite"],
|
|
2965
|
+
"appScopes": ["Chat.Create"],
|
|
2764
2966
|
"llmTip": "Creates a new 1:1 or group Teams chat. Body: { chatType ('oneOnOne' or 'group'), topic (optional, group only), members: [{ '@odata.type': '#microsoft.graph.aadUserConversationMember', roles: ['owner' | 'guest'], 'user@odata.bind': 'https://graph.microsoft.com/v1.0/users({id})' }] }. A oneOnOne chat requires exactly 2 members (self + other), both with role 'owner'. For group chats, include all participants. The signed-in user must be one of the members. Returns the created chat with its id — use that id with send-chat-message, list-chat-members, etc."
|
|
2765
2967
|
},
|
|
2766
2968
|
{
|
|
@@ -2768,6 +2970,7 @@
|
|
|
2768
2970
|
"method": "get",
|
|
2769
2971
|
"toolName": "list-subscriptions",
|
|
2770
2972
|
"scopes": [],
|
|
2973
|
+
"appScopes": [],
|
|
2771
2974
|
"llmTip": "Lists webhook subscriptions owned by the current app/user. Returns id, resource, changeType, notificationUrl, expirationDateTime, clientState. Use $filter=resource eq '/me/messages' to find subscriptions for a specific resource. No dedicated 'Subscription.*' scope exists — the caller must already have a read permission for the subscribed resource (e.g. Mail.Read for /me/messages), which is supplied by the tool that reads that resource."
|
|
2772
2975
|
},
|
|
2773
2976
|
{
|
|
@@ -2775,6 +2978,7 @@
|
|
|
2775
2978
|
"method": "post",
|
|
2776
2979
|
"toolName": "create-subscription",
|
|
2777
2980
|
"scopes": [],
|
|
2981
|
+
"appScopes": [],
|
|
2778
2982
|
"llmTip": "Creates a webhook subscription for change notifications. Required body: { changeType (comma-separated: 'created,updated,deleted'), notificationUrl (HTTPS, must validate with token echo), resource (e.g. '/me/mailFolders/inbox/messages', '/users/{id}/events', '/teams/{id}/channels/{id}/messages'), expirationDateTime (ISO 8601, max varies by resource type — 1 hour for calls, 24h for messages, 3 days for mail), clientState (opaque string returned in notifications, for validation) }. Optional: includeResourceData (true enables rich notifications, requires encryptionCertificate + encryptionCertificateId). No dedicated scope — caller must have a read permission for the target resource (e.g. Mail.Read, Calendars.Read, ChannelMessage.Read.All, Files.Read.All)."
|
|
2779
2983
|
},
|
|
2780
2984
|
{
|
|
@@ -2782,6 +2986,7 @@
|
|
|
2782
2986
|
"method": "get",
|
|
2783
2987
|
"toolName": "get-subscription",
|
|
2784
2988
|
"scopes": [],
|
|
2989
|
+
"appScopes": [],
|
|
2785
2990
|
"llmTip": "Gets a specific webhook subscription by id. Use list-subscriptions to find the id. Returns full subscription details including resource, changeType, notificationUrl, expirationDateTime, applicationId."
|
|
2786
2991
|
},
|
|
2787
2992
|
{
|
|
@@ -2789,6 +2994,7 @@
|
|
|
2789
2994
|
"method": "patch",
|
|
2790
2995
|
"toolName": "update-subscription",
|
|
2791
2996
|
"scopes": [],
|
|
2997
|
+
"appScopes": [],
|
|
2792
2998
|
"llmTip": "Renews a webhook subscription by extending its expiration. Body: { expirationDateTime (ISO 8601, new expiry) }. Call before the current expirationDateTime to avoid missing notifications. Max extension varies by resource type — check Microsoft Graph docs for subscription limits."
|
|
2793
2999
|
},
|
|
2794
3000
|
{
|
|
@@ -2796,6 +3002,7 @@
|
|
|
2796
3002
|
"method": "delete",
|
|
2797
3003
|
"toolName": "delete-subscription",
|
|
2798
3004
|
"scopes": [],
|
|
3005
|
+
"appScopes": [],
|
|
2799
3006
|
"llmTip": "Deletes a webhook subscription. No further change notifications will be sent. Use this to clean up stale subscriptions or stop receiving notifications. Use list-subscriptions to find the id."
|
|
2800
3007
|
},
|
|
2801
3008
|
{
|
|
@@ -2803,6 +3010,7 @@
|
|
|
2803
3010
|
"method": "post",
|
|
2804
3011
|
"toolName": "reauthorize-subscription",
|
|
2805
3012
|
"scopes": [],
|
|
3013
|
+
"appScopes": [],
|
|
2806
3014
|
"llmTip": "Reauthorizes a subscription after receiving a 'reauthorizationRequired' lifecycle notification from Microsoft Graph. No body required. Must be called within the reauthorizationRequiredDateTime window (typically 48h) to avoid subscription expiry."
|
|
2807
3015
|
},
|
|
2808
3016
|
{
|
|
@@ -2811,6 +3019,7 @@
|
|
|
2811
3019
|
"toolName": "extract-drive-item-sensitivity-labels",
|
|
2812
3020
|
"presets": ["files", "onedrive", "personal"],
|
|
2813
3021
|
"workScopes": ["Files.Read.All"],
|
|
3022
|
+
"appScopes": [["Files.Read.All"], ["Sites.Read.All"], ["Sites.Selected"]],
|
|
2814
3023
|
"llmTip": "Returns the Microsoft Information Protection (MIP) sensitivity labels assigned to a file. No request body. Response: { value: { labels: [{ sensitivityLabelId, assignmentMethod, tenantId }] } }. Use list-sensitivity-labels to map sensitivityLabelId to a human-readable name. Not supported for personal Microsoft accounts. May return 423 Locked if the file is double-key-encrypted or decryption is deferred."
|
|
2815
3024
|
},
|
|
2816
3025
|
{
|