forked from Softeria/ms-365-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints.json
More file actions
2603 lines (2603 loc) · 138 KB
/
Copy pathendpoints.json
File metadata and controls
2603 lines (2603 loc) · 138 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"pathPattern": "/$batch",
"method": "post",
"toolName": "graph-batch",
"scopes": [],
"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/...)."
},
{
"pathPattern": "/me/messages",
"method": "get",
"toolName": "list-mail-messages",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"],
"llmTip": "List read search my Outlook emails across folders. 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:john 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-mail-message with the specific message id."
},
{
"pathPattern": "/me/mailFolders",
"method": "get",
"toolName": "list-mail-folders",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"]
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/childFolders",
"method": "get",
"toolName": "list-mail-child-folders",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"]
},
{
"pathPattern": "/me/mailFolders",
"method": "post",
"toolName": "create-mail-folder",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Creates a top-level mail folder. Use create-mail-child-folder to create a subfolder inside an existing folder. Use list-mail-folders to find existing folder IDs."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/childFolders",
"method": "post",
"toolName": "create-mail-child-folder",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Creates a subfolder inside an existing mail folder. Use list-mail-folders or list-mail-child-folders to find the parent folder ID."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}",
"method": "patch",
"toolName": "update-mail-folder",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Renames a mail folder by updating its displayName. Use list-mail-folders to find the folder ID."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}",
"method": "delete",
"toolName": "delete-mail-folder",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Deletes a mail folder and all its contents. This action is irreversible. Use list-mail-folders to find the folder ID."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/messages",
"method": "get",
"toolName": "list-mail-folder-messages",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"],
"llmTip": "List read search Outlook emails within a specific mail folder. 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-mail-message with the specific message id."
},
{
"pathPattern": "/me/messages/{message-id}",
"method": "get",
"toolName": "get-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"]
},
{
"pathPattern": "/me/sendMail",
"method": "post",
"toolName": "send-mail",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Send"],
"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."
},
{
"pathPattern": "/users/{user-id}/messages",
"method": "get",
"toolName": "list-shared-mailbox-messages",
"presets": ["work"],
"workScopes": ["Mail.Read.Shared"],
"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."
},
{
"pathPattern": "/users/{user-id}/mailFolders/{mailFolder-id}/messages",
"method": "get",
"toolName": "list-shared-mailbox-folder-messages",
"presets": ["work"],
"workScopes": ["Mail.Read.Shared"],
"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."
},
{
"pathPattern": "/users/{user-id}/messages/{message-id}",
"method": "get",
"toolName": "get-shared-mailbox-message",
"presets": ["work"],
"workScopes": ["Mail.Read.Shared"]
},
{
"pathPattern": "/users/{user-id}/sendMail",
"method": "post",
"toolName": "send-shared-mailbox-mail",
"presets": ["work"],
"workScopes": ["Mail.Send.Shared"],
"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."
},
{
"pathPattern": "/users/{user-id}/messages",
"method": "post",
"toolName": "create-shared-mailbox-draft",
"presets": ["work"],
"workScopes": ["Mail.ReadWrite.Shared"]
},
{
"pathPattern": "/users/{user-id}/messages/{message-id}/reply",
"method": "post",
"toolName": "reply-shared-mailbox-mail",
"presets": ["work"],
"workScopes": ["Mail.Send.Shared"],
"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."
},
{
"pathPattern": "/users/{user-id}/messages/{message-id}/replyAll",
"method": "post",
"toolName": "reply-all-shared-mailbox-mail",
"presets": ["work"],
"workScopes": ["Mail.Send.Shared"],
"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."
},
{
"pathPattern": "/users/{user-id}/messages/{message-id}/forward",
"method": "post",
"toolName": "forward-shared-mailbox-mail",
"presets": ["work"],
"workScopes": ["Mail.Send.Shared"],
"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."
},
{
"pathPattern": "/users",
"method": "get",
"toolName": "list-users",
"presets": ["users", "work"],
"workScopes": ["User.Read.All"],
"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"
},
{
"pathPattern": "/me/messages",
"method": "post",
"toolName": "create-draft-email",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"]
},
{
"pathPattern": "/me/messages/{message-id}",
"method": "delete",
"toolName": "delete-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Soft delete — moves to Deleted Items. To permanently delete, delete again from Deleted Items."
},
{
"pathPattern": "/me/messages/{message-id}/move",
"method": "post",
"toolName": "move-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "destinationId accepts folder ID or well-known name (inbox, drafts, sentitems, deleteditems, junkemail, archive)."
},
{
"pathPattern": "/me/messages/{message-id}",
"method": "patch",
"toolName": "update-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"]
},
{
"pathPattern": "/me/messages/{message-id}/attachments",
"method": "post",
"toolName": "add-mail-attachment",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Max 3MB. Body requires @odata.type: {\"@odata.type\": \"#microsoft.graph.fileAttachment\", \"name\": \"file.pdf\", \"contentBytes\": \"<base64>\"}."
},
{
"pathPattern": "/me/messages/{message-id}/attachments/createUploadSession",
"method": "post",
"toolName": "create-mail-attachment-upload-session",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "For large attachments (3-150MB). Body: { AttachmentItem: { attachmentType: 'file', name: 'report.pdf', size: 5000000 } }. Returns a pre-authenticated uploadUrl for direct PUT of file bytes."
},
{
"pathPattern": "/me/messages/{message-id}/attachments",
"method": "get",
"toolName": "list-mail-attachments",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"],
"llmTip": "Lists attachments on a message: id, name, contentType, size, isInline. To download the bytes, call download-bytes with target=/me/messages/{message-id}/attachments/{attachment-id}/$value (the /$value suffix returns raw bytes; the bare attachment URL embeds contentBytes in JSON which can truncate large files)."
},
{
"pathPattern": "/me/messages/{message-id}/attachments/{attachment-id}",
"method": "delete",
"toolName": "delete-mail-attachment",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"]
},
{
"pathPattern": "/me/messages/{message-id}/forward",
"method": "post",
"toolName": "forward-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Send"],
"llmTip": "Forward an email preserving full HTML formatting and attachments. The 'comment' field adds text above the forwarded content. toRecipients is required. Do NOT reconstruct the email manually - this endpoint handles everything server-side."
},
{
"pathPattern": "/me/messages/{message-id}/reply",
"method": "post",
"toolName": "reply-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Send"],
"llmTip": "Reply to an email preserving full HTML formatting. The 'comment' field is your reply text. Do NOT reconstruct the email manually."
},
{
"pathPattern": "/me/messages/{message-id}/replyAll",
"method": "post",
"toolName": "reply-all-mail-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Send"],
"llmTip": "Reply-all preserving full HTML formatting. The 'comment' field is your reply text."
},
{
"pathPattern": "/me/messages/{message-id}/createForward",
"method": "post",
"toolName": "create-forward-draft",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Create a forward draft (does not send). Useful when user wants to review before sending."
},
{
"pathPattern": "/me/messages/{message-id}/createReply",
"method": "post",
"toolName": "create-reply-draft",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
},
{
"pathPattern": "/me/messages/{message-id}/createReplyAll",
"method": "post",
"toolName": "create-reply-all-draft",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "For HTML replies pass Message.body.contentType: 'html' with Message.body.content as HTML. Note: supplying Message.body replaces the whole draft body, so the original quoted history is not included. Specifying both 'comment' and Message.body returns 400. Signatures are added by the Outlook client only, not via Graph."
},
{
"pathPattern": "/me/messages/{message-id}/send",
"method": "post",
"toolName": "send-draft-message",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Send"],
"llmTip": "No request body needed — just call with the message ID. Draft must exist in Drafts folder."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/messageRules",
"method": "get",
"toolName": "list-mail-rules",
"presets": ["mail", "outlook", "personal"],
"scopes": ["MailboxSettings.Read"],
"llmTip": "Lists all message rules for a mail folder. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules. Each rule has displayName, sequence, isEnabled, conditions (fromAddresses, subjectContains, etc.), actions (moveToFolder, forwardTo, delete, etc.), and exceptions."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/messageRules",
"method": "post",
"toolName": "create-mail-rule",
"presets": ["mail", "outlook", "personal"],
"scopes": ["MailboxSettings.ReadWrite"],
"llmTip": "Creates a message rule for a mail folder. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules. Body: { displayName: 'Rule name', sequence: 1, isEnabled: true, conditions: { fromAddresses: [{ emailAddress: { address: 'user@example.com' } }] }, actions: { moveToFolder: 'folder-id' } }. Actions: moveToFolder, copyToFolder, forwardTo, forwardAsAttachmentTo, delete, markAsRead, markImportance, stopProcessingRules."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/messageRules/{messageRule-id}",
"method": "patch",
"toolName": "update-mail-rule",
"presets": ["mail", "outlook", "personal"],
"scopes": ["MailboxSettings.ReadWrite"],
"llmTip": "Updates an existing message rule. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules. Send only the properties to change. Common use: { isEnabled: false } to disable a rule, or update conditions/actions."
},
{
"pathPattern": "/me/mailFolders/{mailFolder-id}/messageRules/{messageRule-id}",
"method": "delete",
"toolName": "delete-mail-rule",
"presets": ["mail", "outlook", "personal"],
"scopes": ["MailboxSettings.ReadWrite"],
"llmTip": "Deletes a message rule permanently. Use the Inbox folder ID (get it from list-mail-folders) for inbox rules."
},
{
"pathPattern": "/me/inferenceClassification/overrides",
"method": "get",
"toolName": "list-focused-inbox-overrides",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"],
"llmTip": "Lists Focused Inbox classification overrides — explicit rules that force messages from a given sender (by SMTP address) into either the Focused or Other tab, regardless of what the Outlook ML classifier would predict. Each override has id, classifyAs ('focused' or 'other'), and senderEmailAddress {name, address}. Returns an empty collection if the user has never set an override."
},
{
"pathPattern": "/me/inferenceClassification/overrides",
"method": "post",
"toolName": "create-focused-inbox-override",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Creates a Focused Inbox override for a sender. Body: { classifyAs: 'focused', senderEmailAddress: { name: 'Display Name', address: 'sender@example.com' } }. classifyAs must be 'focused' or 'other'. If an override already exists for that SMTP address, POST updates the existing override's name and classifyAs (use this to rename a sender). Resolve the sender's address with list-users or by reading a recent mail header — do not invent SMTP addresses."
},
{
"pathPattern": "/me/inferenceClassification/overrides/{inferenceClassificationOverride-id}",
"method": "patch",
"toolName": "update-focused-inbox-override",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Updates the classifyAs field of an existing override. Body: { classifyAs: 'focused' } or { classifyAs: 'other' }. Per Graph API, PATCH cannot change senderEmailAddress — to change the SMTP address, delete and recreate the override. To rename the display name only, POST a new override with the same SMTP address (it will overwrite the name)."
},
{
"pathPattern": "/me/inferenceClassification/overrides/{inferenceClassificationOverride-id}",
"method": "delete",
"toolName": "delete-focused-inbox-override",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.ReadWrite"],
"llmTip": "Deletes a Focused Inbox override. Future messages from that sender revert to the Outlook ML classifier's default behavior. Use list-focused-inbox-overrides to find the ID first."
},
{
"pathPattern": "/me/events",
"method": "get",
"toolName": "list-calendar-events",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true,
"llmTip": "WARNING: Does NOT expand recurring events — only returns seriesMaster. Use get-calendar-view instead to see individual occurrences within a date range."
},
{
"pathPattern": "/me/events/{event-id}",
"method": "get",
"toolName": "get-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true
},
{
"pathPattern": "/me/events",
"method": "post",
"toolName": "create-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"descriptionOverride": "Create (schedule) a new calendar event — a meeting or appointment — on the user's calendar. Set subject, start/end times, time zone, location, body, and attendees; supports online meetings and recurrence.",
"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."
},
{
"pathPattern": "/me/events/{event-id}",
"method": "patch",
"toolName": "update-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"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. WARNING: Setting attendees replaces the entire attendee list — include all attendees, not just new ones."
},
{
"pathPattern": "/me/events/{event-id}",
"method": "delete",
"toolName": "delete-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Deleting a seriesMaster deletes ALL occurrences of the recurring event. To cancel a single occurrence, delete that specific instance ID from list-calendar-event-instances."
},
{
"pathPattern": "/me/events/{event-id}/accept",
"method": "post",
"toolName": "accept-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Accepts a meeting invitation. Optional body: { sendResponse: true, comment: 'I will attend.' }. Set sendResponse to false to accept silently without notifying the organizer."
},
{
"pathPattern": "/me/events/{event-id}/decline",
"method": "post",
"toolName": "decline-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Declines a meeting invitation. Optional body: { sendResponse: true, comment: 'Cannot attend, conflict.' }. The event remains in the calendar as declined unless the user deletes it."
},
{
"pathPattern": "/me/events/{event-id}/tentativelyAccept",
"method": "post",
"toolName": "tentatively-accept-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Tentatively accepts a meeting invitation. Optional body: { sendResponse: true, comment: 'I might be able to attend.' }. Use proposedNewTime to suggest an alternative: { proposedNewTime: { start: { dateTime, timeZone }, end: { dateTime, timeZone } } }."
},
{
"pathPattern": "/me/calendars/{calendar-id}/events",
"method": "get",
"toolName": "list-specific-calendar-events",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true,
"llmTip": "WARNING: Does NOT expand recurring events — only returns seriesMaster. Use get-specific-calendar-view instead."
},
{
"pathPattern": "/me/calendars/{calendar-id}/events/{event-id}",
"method": "get",
"toolName": "get-specific-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true
},
{
"pathPattern": "/me/calendars/{calendar-id}/events",
"method": "post",
"toolName": "create-specific-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"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."
},
{
"pathPattern": "/me/calendars/{calendar-id}/events/{event-id}",
"method": "patch",
"toolName": "update-specific-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"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. WARNING: Setting attendees replaces the entire attendee list — include all attendees, not just new ones."
},
{
"pathPattern": "/me/calendars/{calendar-id}/events/{event-id}",
"method": "delete",
"toolName": "delete-specific-calendar-event",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Deleting a seriesMaster deletes ALL occurrences. To cancel a single occurrence, use the specific instance ID."
},
{
"pathPattern": "/me/calendarView",
"method": "get",
"toolName": "get-calendar-view",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true,
"llmTip": "Returns expanded recurring event instances (not just seriesMaster) within a date range for the default calendar. Requires startDateTime and endDateTime query parameters in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Use get-specific-calendar-view if you need a non-default calendar. To find Teams meetings, use $filter=isOnlineMeeting eq true. To search by subject, use $filter=contains(subject,'keyword'). Teams meetings include a joinWebUrl property needed for transcript access via list-online-meetings."
},
{
"pathPattern": "/me/calendars/{calendar-id}/calendarView",
"method": "get",
"toolName": "get-specific-calendar-view",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true,
"llmTip": "Returns expanded recurring event instances (not just seriesMaster) within a date range for a specific calendar. Requires startDateTime and endDateTime query parameters in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Each instance includes seriesMasterId and type (occurrence/exception) fields for recurring event linkage. Use fetchAllPages=true to retrieve all results when there are many events. To find Teams meetings, use $filter=isOnlineMeeting eq true. Teams meetings include a joinWebUrl property needed for transcript access via list-online-meetings."
},
{
"pathPattern": "/me/calendar/getSchedule",
"method": "post",
"toolName": "get-schedule",
"presets": ["calendar", "outlook", "personal"],
"readOnly": true,
"workScopes": ["Calendars.Read"]
},
{
"pathPattern": "/users/{user-id}/calendar/events",
"method": "get",
"toolName": "list-shared-calendar-events",
"presets": ["work"],
"workScopes": ["Calendars.Read.Shared"]
},
{
"pathPattern": "/users/{user-id}/calendarView",
"method": "get",
"toolName": "get-shared-calendar-view",
"presets": ["work"],
"workScopes": ["Calendars.Read.Shared"],
"supportsTimezone": true
},
{
"pathPattern": "/me/calendars/{calendar-id}/events/{event-id}/instances",
"method": "get",
"toolName": "list-calendar-event-instances",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"],
"supportsTimezone": true,
"supportsExpandExtendedProperties": true,
"llmTip": "Expand a recurring event into individual instances within a date range. Requires startDateTime and endDateTime query parameters in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Use this to see all occurrences of a recurring event."
},
{
"pathPattern": "/me/calendars",
"method": "get",
"toolName": "list-calendars",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.Read"]
},
{
"pathPattern": "/me/calendars",
"method": "post",
"toolName": "create-calendar",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Creates a new personal calendar. Body: { name: 'My Calendar', color: 'auto' }. Available colors: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor."
},
{
"pathPattern": "/me/calendars/{calendar-id}",
"method": "patch",
"toolName": "update-calendar",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Updates a calendar's properties. Body: { name: 'New Name', color: 'lightBlue' }. Cannot update the default calendar's name."
},
{
"pathPattern": "/me/calendars/{calendar-id}",
"method": "delete",
"toolName": "delete-calendar",
"presets": ["calendar", "outlook", "personal"],
"scopes": ["Calendars.ReadWrite"],
"llmTip": "Deletes a calendar and all its events. The default calendar cannot be deleted. This action cannot be undone."
},
{
"pathPattern": "/me/findMeetingTimes",
"method": "post",
"toolName": "find-meeting-times",
"presets": ["calendar", "outlook", "personal"],
"readOnly": true,
"workScopes": ["Calendars.Read.Shared"]
},
{
"pathPattern": "/me/drives",
"method": "get",
"toolName": "list-drives",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/delta()",
"method": "get",
"toolName": "get-drive-delta",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/root",
"method": "get",
"toolName": "get-drive-root-item",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
"method": "get",
"toolName": "list-folder-files",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
"method": "delete",
"toolName": "delete-onedrive-file",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/content",
"method": "put",
"toolName": "upload-file-content",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Max 4MB inline (use create-upload-session above 4MB). For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createUploadSession",
"method": "post",
"toolName": "create-upload-session",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"llmTip": "For large file uploads (no size limit). Returns a pre-authenticated uploadUrl for direct PUT of file bytes. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
"method": "get",
"toolName": "get-drive-item",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
"method": "patch",
"toolName": "move-rename-onedrive-item",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
"method": "post",
"toolName": "create-onedrive-folder",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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'."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/invite",
"method": "post",
"toolName": "share-drive-item",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createLink",
"method": "post",
"toolName": "create-drive-item-share-link",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/copy",
"method": "post",
"toolName": "copy-drive-item",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/preview",
"method": "post",
"toolName": "create-drive-item-preview",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/thumbnails",
"method": "get",
"toolName": "list-drive-item-thumbnails",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/permissions",
"method": "get",
"toolName": "list-drive-item-permissions",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}",
"method": "delete",
"toolName": "delete-drive-item-permission",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.ReadWrite"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/versions",
"method": "get",
"toolName": "list-drive-item-versions",
"presets": ["files", "onedrive", "personal"],
"scopes": ["Files.Read"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/search(q='{q}')",
"method": "get",
"toolName": "search-onedrive-files",
"presets": ["files", "onedrive", "personal", "search"],
"scopes": ["Files.Read"],
"skipEncoding": ["q"],
"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."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/charts/add",
"method": "post",
"toolName": "create-excel-chart",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/format",
"method": "patch",
"toolName": "format-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Apply rangeFormat properties to a specific range. Required path param 'address' (e.g. 'A1:E5' or 'Sheet1!A1:E5'). Body: { horizontalAlignment, verticalAlignment, wrapText, columnWidth, rowHeight }. Note: font, fill, and borders are sub-resources on rangeFormat — set them via /format/font, /format/fill, and /format/borders/{sideIndex} respectively, not on this endpoint."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range()/sort",
"method": "patch",
"toolName": "sort-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')",
"method": "get",
"toolName": "get-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.Read"],
"skipEncoding": ["address"]
},
{
"pathPattern": "/me/messages/{message-id}/$value",
"method": "get",
"toolName": "get-mail-message-mime",
"presets": ["mail", "outlook", "personal"],
"scopes": ["Mail.Read"],
"acceptType": "text/plain",
"llmTip": "Download an email message as raw RFC 5322 MIME content (.eml format). Use this when archiving an email to disk preserving all original headers, body, and inline-encoded attachments. Returns the MIME stream as text. Find the message id with list-mail-messages first."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')",
"method": "patch",
"toolName": "update-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Set cell values, formulas, or number format on any range — does NOT require the worksheet to be a formal Excel table. Body: { values: [['v1','v2','v3']] } for a single row, or [['a','b'],['c','d']] for multi-row. Use this for append (target the next empty row's address, e.g. 'A172:H172'), update (target a single cell like 'H42'), or prepend-style edits (read existing, concatenate, write back). Number of inner-array values must match the column count of the address."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/insert",
"method": "post",
"toolName": "insert-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Insert blank cells at the given range, shifting existing content. Body: { shift: 'Down' } or { shift: 'Right' }. Use 'Down' to insert blank rows above existing data."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/delete",
"method": "post",
"toolName": "delete-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Delete cells at the given range, shifting remaining content. Body: { shift: 'Up' } or { shift: 'Left' }. Use 'Up' to delete entire rows."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/merge",
"method": "post",
"toolName": "merge-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Merge the cells in the given range into a single cell. Body: { across: false } merges the entire range into one cell; { across: true } merges each row separately. Useful for building styled headers, banner rows, and report layouts."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/unmerge",
"method": "post",
"toolName": "unmerge-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Unmerge any merged cells within the given range back into individual cells. No request body. Inverse of merge-excel-range."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/range(address='{address}')/clear",
"method": "post",
"toolName": "clear-excel-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["address"],
"llmTip": "Clear cell contents and/or formatting on the given range. Body: { applyTo: 'All' | 'Formats' | 'Contents' }. 'Contents' wipes values but keeps formatting; 'Formats' resets styling but keeps values; 'All' wipes both. Use this to reset a worksheet section before a fresh write rather than overwriting cell-by-cell."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/usedRange()",
"method": "get",
"toolName": "get-excel-used-range",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"llmTip": "Get the smallest range that encompasses any cells with values or formatting on the worksheet. Returns address, values, formulas, numberFormat, rowCount, columnCount. Use this to discover the populated bounds of a sheet before reading or appending — avoids guessing how far data extends. Optional $select to trim the response."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables/{workbookTable-id}/rows/itemAt(index={index})",
"method": "patch",
"toolName": "update-excel-table-row",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["index"],
"llmTip": "Update a single row in a formal Excel table by zero-based row index. Body: { values: [[...]] } with one inner array matching the column count."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables/{workbookTable-id}/rows/itemAt(index={index})",
"method": "delete",
"toolName": "delete-excel-table-row",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"skipEncoding": ["index"],
"llmTip": "Delete a single row from a formal Excel table by zero-based row index."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets/{workbookWorksheet-id}/tables/add",
"method": "post",
"toolName": "create-excel-table",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"llmTip": "Convert a worksheet range into a formal Excel table. Body: { address: 'A1:H171', hasHeaders: true }. Required before using add-excel-table-rows / update-excel-table-row / delete-excel-table-row on a plain-cells sheet."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/worksheets",
"method": "get",
"toolName": "list-excel-worksheets",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.Read"]
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables",
"method": "get",
"toolName": "list-excel-tables",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.Read"],
"llmTip": "Lists all named tables in a workbook. Each table has id, name, showHeaders, showTotals, columns, and style. Use the table name or id with other table endpoints."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables/{workbookTable-id}",
"method": "get",
"toolName": "get-excel-table",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.Read"],
"llmTip": "Gets a specific table by name or ID. Returns table properties including columns, showHeaders, showTotals, and style."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables/{workbookTable-id}/rows",
"method": "get",
"toolName": "list-excel-table-rows",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.Read"],
"llmTip": "Lists all rows in a table. Each row has index and values (array of cell values). Use $top and $skip for pagination on large tables."
},
{
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/workbook/tables/{workbookTable-id}/rows",
"method": "post",
"toolName": "add-excel-table-rows",
"presets": ["excel", "personal"],
"isExcelOp": true,
"scopes": ["Files.ReadWrite"],
"llmTip": "Adds rows to a table. Body: { values: [['col1val', 'col2val', 'col3val'], ['row2col1', 'row2col2', 'row2col3']] }. Each inner array is one row. Values must match the number of columns in the table."
},
{
"pathPattern": "/me/onenote/notebooks",
"method": "get",
"toolName": "list-onenote-notebooks",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Read"]
},
{
"pathPattern": "/me/onenote/notebooks",
"method": "post",
"toolName": "create-onenote-notebook",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Create"],
"llmTip": "Creates a new OneNote notebook. Body: { displayName: 'Notebook Name' }. The name must be unique across the user's notebooks."
},
{
"pathPattern": "/me/onenote/notebooks/{notebook-id}/sections",
"method": "get",
"toolName": "list-onenote-notebook-sections",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Read"]
},
{
"pathPattern": "/me/onenote/notebooks/{notebook-id}/sections",
"method": "post",
"toolName": "create-onenote-section",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Create"],
"llmTip": "Creates a new section in a notebook. Body: { displayName: 'Section Name' }."
},
{
"pathPattern": "/me/onenote/sections",
"method": "get",
"toolName": "list-all-onenote-sections",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Read"],
"llmTip": "Lists all sections across all notebooks. Use list-onenote-notebook-sections to list sections within a specific notebook instead."
},
{
"pathPattern": "/me/onenote/sections/{onenoteSection-id}/pages",
"method": "get",
"toolName": "list-onenote-section-pages",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Read"]
},
{
"pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
"method": "get",
"toolName": "get-onenote-page-content",
"presets": ["onenote", "personal"],
"scopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/notebooks",
"method": "get",
"toolName": "list-sharepoint-site-onenote-notebooks",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/notebooks/{notebook-id}/sections",
"method": "get",
"toolName": "list-sharepoint-site-onenote-notebook-sections",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/sections/{onenoteSection-id}/pages",
"method": "get",
"toolName": "list-sharepoint-site-onenote-section-pages",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/notebooks/{notebook-id}/sectionGroups",
"method": "get",
"toolName": "list-sharepoint-site-onenote-notebook-section-groups",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sections",
"method": "get",
"toolName": "list-sharepoint-site-onenote-section-group-sections",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sectionGroups",
"method": "get",
"toolName": "list-sharepoint-site-onenote-section-group-section-groups",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/pages/{onenotePage-id}/content",
"method": "get",
"toolName": "get-sharepoint-site-onenote-page-content",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Read"]
},
{
"pathPattern": "/sites/{site-id}/onenote/notebooks",
"method": "post",
"toolName": "create-sharepoint-site-onenote-notebook",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Create"]
},
{
"pathPattern": "/sites/{site-id}/onenote/notebooks/{notebook-id}/sections",
"method": "post",
"toolName": "create-sharepoint-site-onenote-section",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Create"]
},
{
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sections",
"method": "post",
"toolName": "create-sharepoint-site-onenote-section-group-section",
"presets": ["onenote", "work"],
"workScopes": ["Notes.Create"]
},
{
"pathPattern": "/sites/{site-id}/onenote/sections/{onenoteSection-id}/pages",
"method": "post",
"toolName": "create-sharepoint-site-onenote-section-page",