@softeria/ms-365-mcp-server 0.182.3 → 0.184.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRESETS.md +15 -9
- package/bin/modules/simplified-openapi.mjs +29 -0
- package/dist/endpoints.json +28 -6
- package/dist/generated/client.js +74 -1
- package/dist/graph-tools.js +2 -1
- package/package.json +1 -1
- package/src/endpoints.json +28 -6
package/PRESETS.md
CHANGED
|
@@ -10,8 +10,8 @@ Every preset also includes the account tools (`login`, `logout`, `verify-login`,
|
|
|
10
10
|
|
|
11
11
|
| Preset | Mode | Tools | Scopes | Org mode | Description |
|
|
12
12
|
| ------------- | ---------------------------------------------------------------- | ---------: | -------: | -------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
13
|
-
| `all` | [full](#all-full)<br>[read only](#all-read-only) |
|
|
14
|
-
| `calendar` | [full](#calendar-full)<br>[read only](#calendar-read-only) |
|
|
13
|
+
| `all` | [full](#all-full)<br>[read only](#all-read-only) | 371<br>181 | 65<br>38 | -<br>- | All available tools |
|
|
14
|
+
| `calendar` | [full](#calendar-full)<br>[read only](#calendar-read-only) | 48<br>23 | 7<br>5 | -<br>- | Calendar and event management |
|
|
15
15
|
| `contacts` | [full](#contacts-full)<br>[read only](#contacts-read-only) | 15<br>7 | 1<br>1 | -<br>- | Outlook contacts management |
|
|
16
16
|
| `excel` | [full](#excel-full)<br>[read only](#excel-read-only) | 25<br>9 | 1<br>1 | -<br>- | Excel spreadsheet operations |
|
|
17
17
|
| `files` | [full](#files-full)<br>[read only](#files-read-only) | 26<br>14 | 3<br>2 | -<br>- | OneDrive file and folder operations |
|
|
@@ -25,13 +25,13 @@ Every preset also includes the account tools (`login`, `logout`, `verify-login`,
|
|
|
25
25
|
| `teams` | [full](#teams-full)<br>[read only](#teams-read-only) | 73<br>43 | 31<br>18 | required<br>required | Teams app only: chats, channels, meetings and presence |
|
|
26
26
|
| `teams-write` | [full](#teams-write-full)<br>[read only](#teams-write-read-only) | 11<br>7 | 6<br>3 | required<br>required | Teams send-only: send/reply in chats and channels, list chats/teams/channels by name, activity notifications - no message reading |
|
|
27
27
|
| `users` | [full](#users-full)<br>[read only](#users-read-only) | 11<br>11 | 4<br>4 | required<br>required | User directory access |
|
|
28
|
-
| `work` | [full](#work-full)<br>[read only](#work-read-only) |
|
|
28
|
+
| `work` | [full](#work-full)<br>[read only](#work-read-only) | 191<br>111 | 55<br>33 | required<br>required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
|
|
29
29
|
|
|
30
30
|
## `all` full
|
|
31
31
|
|
|
32
32
|
All available tools
|
|
33
33
|
|
|
34
|
-
Tools (
|
|
34
|
+
Tools (371):
|
|
35
35
|
|
|
36
36
|
- `accept-calendar-event`
|
|
37
37
|
- `add-calendar-event-attachment`
|
|
@@ -290,6 +290,7 @@ Tools (370):
|
|
|
290
290
|
- `list-planner-tasks`
|
|
291
291
|
- `list-relevant-people`
|
|
292
292
|
- `list-room-list-rooms`
|
|
293
|
+
- `list-rooms`
|
|
293
294
|
- `list-sensitivity-labels`
|
|
294
295
|
- `list-shared-calendar-events`
|
|
295
296
|
- `list-shared-mailbox-attachments`
|
|
@@ -476,7 +477,7 @@ Scopes (65):
|
|
|
476
477
|
|
|
477
478
|
All available tools
|
|
478
479
|
|
|
479
|
-
Tools (
|
|
480
|
+
Tools (181):
|
|
480
481
|
|
|
481
482
|
- `copilot-retrieve`
|
|
482
483
|
- `download-bytes`
|
|
@@ -618,6 +619,7 @@ Tools (180):
|
|
|
618
619
|
- `list-planner-tasks`
|
|
619
620
|
- `list-relevant-people`
|
|
620
621
|
- `list-room-list-rooms`
|
|
622
|
+
- `list-rooms`
|
|
621
623
|
- `list-sensitivity-labels`
|
|
622
624
|
- `list-shared-calendar-events`
|
|
623
625
|
- `list-shared-mailbox-attachments`
|
|
@@ -704,7 +706,7 @@ Scopes (38):
|
|
|
704
706
|
|
|
705
707
|
Calendar and event management
|
|
706
708
|
|
|
707
|
-
Tools (
|
|
709
|
+
Tools (48):
|
|
708
710
|
|
|
709
711
|
- `accept-calendar-event`
|
|
710
712
|
- `add-calendar-event-attachment`
|
|
@@ -742,6 +744,7 @@ Tools (47):
|
|
|
742
744
|
- `list-my-calendar-permissions`
|
|
743
745
|
- `list-outlook-categories`
|
|
744
746
|
- `list-room-list-rooms`
|
|
747
|
+
- `list-rooms`
|
|
745
748
|
- `list-specific-calendar-events`
|
|
746
749
|
- `list-supported-languages`
|
|
747
750
|
- `list-supported-time-zones`
|
|
@@ -768,7 +771,7 @@ Scopes (7):
|
|
|
768
771
|
|
|
769
772
|
Calendar and event management
|
|
770
773
|
|
|
771
|
-
Tools (
|
|
774
|
+
Tools (23):
|
|
772
775
|
|
|
773
776
|
- `download-bytes`
|
|
774
777
|
- `download-bytes-to-file`
|
|
@@ -789,6 +792,7 @@ Tools (22):
|
|
|
789
792
|
- `list-my-calendar-permissions`
|
|
790
793
|
- `list-outlook-categories`
|
|
791
794
|
- `list-room-list-rooms`
|
|
795
|
+
- `list-rooms`
|
|
792
796
|
- `list-specific-calendar-events`
|
|
793
797
|
- `list-supported-languages`
|
|
794
798
|
- `list-supported-time-zones`
|
|
@@ -2093,7 +2097,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
|
|
|
2093
2097
|
|
|
2094
2098
|
Requires `--org-mode`.
|
|
2095
2099
|
|
|
2096
|
-
Tools (
|
|
2100
|
+
Tools (191):
|
|
2097
2101
|
|
|
2098
2102
|
- `add-group-member`
|
|
2099
2103
|
- `add-group-owner`
|
|
@@ -2217,6 +2221,7 @@ Tools (190):
|
|
|
2217
2221
|
- `list-planner-tasks`
|
|
2218
2222
|
- `list-relevant-people`
|
|
2219
2223
|
- `list-room-list-rooms`
|
|
2224
|
+
- `list-rooms`
|
|
2220
2225
|
- `list-shared-calendar-events`
|
|
2221
2226
|
- `list-shared-mailbox-attachments`
|
|
2222
2227
|
- `list-shared-mailbox-child-folders`
|
|
@@ -2350,7 +2355,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
|
|
|
2350
2355
|
|
|
2351
2356
|
Requires `--org-mode`.
|
|
2352
2357
|
|
|
2353
|
-
Tools (
|
|
2358
|
+
Tools (111):
|
|
2354
2359
|
|
|
2355
2360
|
- `copilot-retrieve`
|
|
2356
2361
|
- `download-bytes`
|
|
@@ -2434,6 +2439,7 @@ Tools (110):
|
|
|
2434
2439
|
- `list-planner-tasks`
|
|
2435
2440
|
- `list-relevant-people`
|
|
2436
2441
|
- `list-room-list-rooms`
|
|
2442
|
+
- `list-rooms`
|
|
2437
2443
|
- `list-shared-calendar-events`
|
|
2438
2444
|
- `list-shared-mailbox-attachments`
|
|
2439
2445
|
- `list-shared-mailbox-child-folders`
|
|
@@ -155,6 +155,9 @@ export function createAndSaveSimplifiedOpenAPI(
|
|
|
155
155
|
return param;
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
+
if (eo.extraQueryParams) {
|
|
159
|
+
operation.parameters = applyExtraQueryParams(operation.parameters, eo);
|
|
160
|
+
}
|
|
158
161
|
} else {
|
|
159
162
|
delete value[method];
|
|
160
163
|
}
|
|
@@ -183,6 +186,32 @@ export function createAndSaveSimplifiedOpenAPI(
|
|
|
183
186
|
fs.writeFileSync(openapiTrimmedFile, yaml.dump(openApiSpec));
|
|
184
187
|
}
|
|
185
188
|
|
|
189
|
+
// Adds the optional query params an endpoint declares in extraQueryParams (name -> JSON
|
|
190
|
+
// Schema), for options Microsoft's spec leaves out. A same-named spec param is replaced, not
|
|
191
|
+
// kept beside ours: the spec is downloaded fresh, so the build must survive Microsoft adding it.
|
|
192
|
+
export function applyExtraQueryParams(parameters, endpoint, warn = console.warn) {
|
|
193
|
+
const extras = Object.entries(endpoint.extraQueryParams ?? {});
|
|
194
|
+
if (extras.length === 0) return parameters;
|
|
195
|
+
|
|
196
|
+
const bare = (name) => String(name).replace(/^\$/, '').toLowerCase();
|
|
197
|
+
const declared = new Set(extras.map(([name]) => bare(name)));
|
|
198
|
+
const kept = (parameters ?? []).filter((param) => {
|
|
199
|
+
if (param.in !== 'query' || !declared.has(bare(param.name))) return true;
|
|
200
|
+
warn(
|
|
201
|
+
`${endpoint.toolName}: the spec now has query param ${param.name}; using extraQueryParams`
|
|
202
|
+
);
|
|
203
|
+
return false;
|
|
204
|
+
});
|
|
205
|
+
const added = extras.map(([name, { description, ...schema }]) => ({
|
|
206
|
+
name,
|
|
207
|
+
in: 'query',
|
|
208
|
+
required: false,
|
|
209
|
+
...(description === undefined ? {} : { description }),
|
|
210
|
+
schema,
|
|
211
|
+
}));
|
|
212
|
+
return [...kept, ...added];
|
|
213
|
+
}
|
|
214
|
+
|
|
186
215
|
// Microsoft's spec is generated from CSDL, so operations that are plain CRUD over a
|
|
187
216
|
// navigation property never get prose. They get scaffolding naming the property and its
|
|
188
217
|
// parent instead - "Create new navigation property to messages for users" - which
|
package/dist/endpoints.json
CHANGED
|
@@ -1259,7 +1259,13 @@
|
|
|
1259
1259
|
"method": "get",
|
|
1260
1260
|
"toolName": "get-onenote-page-content",
|
|
1261
1261
|
"presets": ["onenote", "personal"],
|
|
1262
|
-
"scopes": ["Notes.Read"]
|
|
1262
|
+
"scopes": ["Notes.Read"],
|
|
1263
|
+
"extraQueryParams": {
|
|
1264
|
+
"includeIDs": {
|
|
1265
|
+
"type": "boolean",
|
|
1266
|
+
"description": "Add each element's generated id, for use as an update target."
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1263
1269
|
},
|
|
1264
1270
|
{
|
|
1265
1271
|
"pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
|
|
@@ -1276,7 +1282,7 @@
|
|
|
1276
1282
|
"properties": {
|
|
1277
1283
|
"target": {
|
|
1278
1284
|
"type": "string",
|
|
1279
|
-
"description": "Element to change:
|
|
1285
|
+
"description": "Element to change: #<data-id>, a generated id (no #), or 'body' or 'title'. Most replace actions need the generated id: read the page content with includeIDs=true, and again after each update, as ids can change."
|
|
1280
1286
|
},
|
|
1281
1287
|
"action": {
|
|
1282
1288
|
"type": "string",
|
|
@@ -1343,7 +1349,13 @@
|
|
|
1343
1349
|
"method": "get",
|
|
1344
1350
|
"toolName": "get-sharepoint-site-onenote-page-content",
|
|
1345
1351
|
"presets": ["onenote", "work"],
|
|
1346
|
-
"workScopes": ["Notes.Read.All"]
|
|
1352
|
+
"workScopes": ["Notes.Read.All"],
|
|
1353
|
+
"extraQueryParams": {
|
|
1354
|
+
"includeIDs": {
|
|
1355
|
+
"type": "boolean",
|
|
1356
|
+
"description": "Add each element's generated id, for use as an update target."
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1347
1359
|
},
|
|
1348
1360
|
{
|
|
1349
1361
|
"pathPattern": "/sites/{site-id}/onenote/notebooks",
|
|
@@ -1390,7 +1402,7 @@
|
|
|
1390
1402
|
"properties": {
|
|
1391
1403
|
"target": {
|
|
1392
1404
|
"type": "string",
|
|
1393
|
-
"description": "Element to change:
|
|
1405
|
+
"description": "Element to change: #<data-id>, a generated id (no #), or 'body' or 'title'. Most replace actions need the generated id: read the page content with includeIDs=true, and again after each update, as ids can change."
|
|
1394
1406
|
},
|
|
1395
1407
|
"action": {
|
|
1396
1408
|
"type": "string",
|
|
@@ -2782,6 +2794,16 @@
|
|
|
2782
2794
|
"appScopes": ["VirtualEvent.Read.All"],
|
|
2783
2795
|
"llmTip": "Lists sessions for a webinar. Each session has startDateTime, endDateTime, joinWebUrl, subject, and is essentially an online meeting associated with the webinar."
|
|
2784
2796
|
},
|
|
2797
|
+
{
|
|
2798
|
+
"pathPattern": "/places/graph.room",
|
|
2799
|
+
"method": "get",
|
|
2800
|
+
"toolName": "list-rooms",
|
|
2801
|
+
"descriptionOverride": "List the meeting rooms in the tenant: displayName, emailAddress (to book the room), capacity, building, floorNumber and address. An empty list does not prove there are no rooms: Microsoft Places may not be set up in the tenant.",
|
|
2802
|
+
"presets": ["calendar", "work"],
|
|
2803
|
+
"workScopes": ["Place.Read.All"],
|
|
2804
|
+
"appScopes": ["Place.Read.All"],
|
|
2805
|
+
"queryParams": ["select", "top", "skip", "filter", "skiptoken"]
|
|
2806
|
+
},
|
|
2785
2807
|
{
|
|
2786
2808
|
"pathPattern": "/places/{place-id}/graph.room",
|
|
2787
2809
|
"method": "get",
|
|
@@ -2808,7 +2830,7 @@
|
|
|
2808
2830
|
"presets": ["calendar", "work"],
|
|
2809
2831
|
"workScopes": ["Place.Read.All"],
|
|
2810
2832
|
"appScopes": ["Place.Read.All"],
|
|
2811
|
-
"llmTip": "The place-id
|
|
2833
|
+
"llmTip": "The place-id must be the room list's email address (from get-room-list), not its ID. Returns rooms with displayName, emailAddress, capacity, building, floorNumber, floorLabel, and AV equipment details. Combine with find-meeting-times to find available rooms for booking."
|
|
2812
2834
|
},
|
|
2813
2835
|
{
|
|
2814
2836
|
"pathPattern": "/places/{place-id}/graph.roomList/rooms/{room-id}",
|
|
@@ -2818,7 +2840,7 @@
|
|
|
2818
2840
|
"presets": ["calendar", "work"],
|
|
2819
2841
|
"workScopes": ["Place.Read.All"],
|
|
2820
2842
|
"appScopes": ["Place.Read.All"],
|
|
2821
|
-
"llmTip": "The place-id is the room list
|
|
2843
|
+
"llmTip": "The place-id is the room list's email address (as for list-room-list-rooms), and room-id is the specific room ID. Returns full room details including capacity, building, floor, and AV equipment."
|
|
2822
2844
|
},
|
|
2823
2845
|
{
|
|
2824
2846
|
"pathPattern": "/places/{place-id}",
|
package/dist/generated/client.js
CHANGED
|
@@ -3723,7 +3723,7 @@ const microsoft_graph_onenotePageCollectionResponse = z.object({
|
|
|
3723
3723
|
const update_onenote_page_content_Body = z.array(
|
|
3724
3724
|
z.object({
|
|
3725
3725
|
target: z.string().describe(
|
|
3726
|
-
"Element to change:
|
|
3726
|
+
"Element to change: #<data-id>, a generated id (no #), or 'body' or 'title'. Most replace actions need the generated id: read the page content with includeIDs=true, and again after each update, as ids can change."
|
|
3727
3727
|
),
|
|
3728
3728
|
action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
|
|
3729
3729
|
position: z.enum(["after", "before"]).describe(
|
|
@@ -11199,6 +11199,13 @@ resource.`,
|
|
|
11199
11199
|
alias: "get-onenote-page-content",
|
|
11200
11200
|
description: `The page's HTML content.`,
|
|
11201
11201
|
requestFormat: "json",
|
|
11202
|
+
parameters: [
|
|
11203
|
+
{
|
|
11204
|
+
name: "includeIDs",
|
|
11205
|
+
type: "Query",
|
|
11206
|
+
schema: z.boolean().describe("Add each element's generated id, for use as an update target.").optional()
|
|
11207
|
+
}
|
|
11208
|
+
],
|
|
11202
11209
|
response: z.void()
|
|
11203
11210
|
},
|
|
11204
11211
|
{
|
|
@@ -12910,6 +12917,65 @@ you can query for incremental changes in the todoTaskList. This allows you to ma
|
|
|
12910
12917
|
],
|
|
12911
12918
|
response: z.void()
|
|
12912
12919
|
},
|
|
12920
|
+
{
|
|
12921
|
+
method: "get",
|
|
12922
|
+
path: "/places/graph.room",
|
|
12923
|
+
alias: "list-rooms",
|
|
12924
|
+
description: `Get a collection of the specified type of place objects defined in a tenant. You can do the following for a given tenant:
|
|
12925
|
+
- List all buildings.
|
|
12926
|
+
- List all floors.
|
|
12927
|
+
- List all sections.
|
|
12928
|
+
- List all desks.
|
|
12929
|
+
- List all rooms.
|
|
12930
|
+
- List all workspaces.
|
|
12931
|
+
- List all room lists.
|
|
12932
|
+
- List rooms in a specific room list.
|
|
12933
|
+
- List workspaces in a specific room list.`,
|
|
12934
|
+
requestFormat: "json",
|
|
12935
|
+
parameters: [
|
|
12936
|
+
{
|
|
12937
|
+
name: "$top",
|
|
12938
|
+
type: "Query",
|
|
12939
|
+
schema: z.number().int().gte(0).describe("Show only the first n items").optional()
|
|
12940
|
+
},
|
|
12941
|
+
{
|
|
12942
|
+
name: "$skip",
|
|
12943
|
+
type: "Query",
|
|
12944
|
+
schema: z.number().int().gte(0).describe("Skip the first n items").optional()
|
|
12945
|
+
},
|
|
12946
|
+
{
|
|
12947
|
+
name: "$search",
|
|
12948
|
+
type: "Query",
|
|
12949
|
+
schema: z.string().describe("Search items by search phrases").optional()
|
|
12950
|
+
},
|
|
12951
|
+
{
|
|
12952
|
+
name: "$filter",
|
|
12953
|
+
type: "Query",
|
|
12954
|
+
schema: z.string().describe("Filter items by property values").optional()
|
|
12955
|
+
},
|
|
12956
|
+
{
|
|
12957
|
+
name: "$count",
|
|
12958
|
+
type: "Query",
|
|
12959
|
+
schema: z.boolean().describe("Include count of items").optional()
|
|
12960
|
+
},
|
|
12961
|
+
{
|
|
12962
|
+
name: "$orderby",
|
|
12963
|
+
type: "Query",
|
|
12964
|
+
schema: z.array(z.string()).describe("Order items by property values").optional()
|
|
12965
|
+
},
|
|
12966
|
+
{
|
|
12967
|
+
name: "$select",
|
|
12968
|
+
type: "Query",
|
|
12969
|
+
schema: z.array(z.string()).describe("Select properties to be returned").optional()
|
|
12970
|
+
},
|
|
12971
|
+
{
|
|
12972
|
+
name: "$expand",
|
|
12973
|
+
type: "Query",
|
|
12974
|
+
schema: z.array(z.string()).describe("Expand related entities").optional()
|
|
12975
|
+
}
|
|
12976
|
+
],
|
|
12977
|
+
response: z.void()
|
|
12978
|
+
},
|
|
12913
12979
|
{
|
|
12914
12980
|
method: "post",
|
|
12915
12981
|
path: "/planner/buckets",
|
|
@@ -14312,6 +14378,13 @@ The same item might appear more than once in a delta feed, for various reasons.
|
|
|
14312
14378
|
alias: "get-sharepoint-site-onenote-page-content",
|
|
14313
14379
|
description: `The page's HTML content.`,
|
|
14314
14380
|
requestFormat: "json",
|
|
14381
|
+
parameters: [
|
|
14382
|
+
{
|
|
14383
|
+
name: "includeIDs",
|
|
14384
|
+
type: "Query",
|
|
14385
|
+
schema: z.boolean().describe("Add each element's generated id, for use as an update target.").optional()
|
|
14386
|
+
}
|
|
14387
|
+
],
|
|
14315
14388
|
response: z.void()
|
|
14316
14389
|
},
|
|
14317
14390
|
{
|
package/dist/graph-tools.js
CHANGED
|
@@ -2318,7 +2318,8 @@ async function executeGraphTool(tool, config, graphClient, params, authManager,
|
|
|
2318
2318
|
options.body = typeof body === "string" ? body : JSON.stringify(body);
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
|
-
const isProbablyMediaContent = tool.errors?.some((error) => error.description === "Retrieved media content") ||
|
|
2321
|
+
const isProbablyMediaContent = tool.errors?.some((error) => error.description === "Retrieved media content") || // path already carries the query string, e.g. ?includeIDs=true on OneNote page content
|
|
2322
|
+
path2.split("?")[0].endsWith("/content");
|
|
2322
2323
|
if (config?.returnDownloadUrl && path2.endsWith("/content")) {
|
|
2323
2324
|
path2 = path2.replace(/\/content$/, "");
|
|
2324
2325
|
logger.info(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
3
|
"mcpName": "io.github.Softeria/ms-365-mcp-server",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.184.0",
|
|
5
5
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
package/src/endpoints.json
CHANGED
|
@@ -1259,7 +1259,13 @@
|
|
|
1259
1259
|
"method": "get",
|
|
1260
1260
|
"toolName": "get-onenote-page-content",
|
|
1261
1261
|
"presets": ["onenote", "personal"],
|
|
1262
|
-
"scopes": ["Notes.Read"]
|
|
1262
|
+
"scopes": ["Notes.Read"],
|
|
1263
|
+
"extraQueryParams": {
|
|
1264
|
+
"includeIDs": {
|
|
1265
|
+
"type": "boolean",
|
|
1266
|
+
"description": "Add each element's generated id, for use as an update target."
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1263
1269
|
},
|
|
1264
1270
|
{
|
|
1265
1271
|
"pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
|
|
@@ -1276,7 +1282,7 @@
|
|
|
1276
1282
|
"properties": {
|
|
1277
1283
|
"target": {
|
|
1278
1284
|
"type": "string",
|
|
1279
|
-
"description": "Element to change:
|
|
1285
|
+
"description": "Element to change: #<data-id>, a generated id (no #), or 'body' or 'title'. Most replace actions need the generated id: read the page content with includeIDs=true, and again after each update, as ids can change."
|
|
1280
1286
|
},
|
|
1281
1287
|
"action": {
|
|
1282
1288
|
"type": "string",
|
|
@@ -1343,7 +1349,13 @@
|
|
|
1343
1349
|
"method": "get",
|
|
1344
1350
|
"toolName": "get-sharepoint-site-onenote-page-content",
|
|
1345
1351
|
"presets": ["onenote", "work"],
|
|
1346
|
-
"workScopes": ["Notes.Read.All"]
|
|
1352
|
+
"workScopes": ["Notes.Read.All"],
|
|
1353
|
+
"extraQueryParams": {
|
|
1354
|
+
"includeIDs": {
|
|
1355
|
+
"type": "boolean",
|
|
1356
|
+
"description": "Add each element's generated id, for use as an update target."
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1347
1359
|
},
|
|
1348
1360
|
{
|
|
1349
1361
|
"pathPattern": "/sites/{site-id}/onenote/notebooks",
|
|
@@ -1390,7 +1402,7 @@
|
|
|
1390
1402
|
"properties": {
|
|
1391
1403
|
"target": {
|
|
1392
1404
|
"type": "string",
|
|
1393
|
-
"description": "Element to change:
|
|
1405
|
+
"description": "Element to change: #<data-id>, a generated id (no #), or 'body' or 'title'. Most replace actions need the generated id: read the page content with includeIDs=true, and again after each update, as ids can change."
|
|
1394
1406
|
},
|
|
1395
1407
|
"action": {
|
|
1396
1408
|
"type": "string",
|
|
@@ -2782,6 +2794,16 @@
|
|
|
2782
2794
|
"appScopes": ["VirtualEvent.Read.All"],
|
|
2783
2795
|
"llmTip": "Lists sessions for a webinar. Each session has startDateTime, endDateTime, joinWebUrl, subject, and is essentially an online meeting associated with the webinar."
|
|
2784
2796
|
},
|
|
2797
|
+
{
|
|
2798
|
+
"pathPattern": "/places/graph.room",
|
|
2799
|
+
"method": "get",
|
|
2800
|
+
"toolName": "list-rooms",
|
|
2801
|
+
"descriptionOverride": "List the meeting rooms in the tenant: displayName, emailAddress (to book the room), capacity, building, floorNumber and address. An empty list does not prove there are no rooms: Microsoft Places may not be set up in the tenant.",
|
|
2802
|
+
"presets": ["calendar", "work"],
|
|
2803
|
+
"workScopes": ["Place.Read.All"],
|
|
2804
|
+
"appScopes": ["Place.Read.All"],
|
|
2805
|
+
"queryParams": ["select", "top", "skip", "filter", "skiptoken"]
|
|
2806
|
+
},
|
|
2785
2807
|
{
|
|
2786
2808
|
"pathPattern": "/places/{place-id}/graph.room",
|
|
2787
2809
|
"method": "get",
|
|
@@ -2808,7 +2830,7 @@
|
|
|
2808
2830
|
"presets": ["calendar", "work"],
|
|
2809
2831
|
"workScopes": ["Place.Read.All"],
|
|
2810
2832
|
"appScopes": ["Place.Read.All"],
|
|
2811
|
-
"llmTip": "The place-id
|
|
2833
|
+
"llmTip": "The place-id must be the room list's email address (from get-room-list), not its ID. Returns rooms with displayName, emailAddress, capacity, building, floorNumber, floorLabel, and AV equipment details. Combine with find-meeting-times to find available rooms for booking."
|
|
2812
2834
|
},
|
|
2813
2835
|
{
|
|
2814
2836
|
"pathPattern": "/places/{place-id}/graph.roomList/rooms/{room-id}",
|
|
@@ -2818,7 +2840,7 @@
|
|
|
2818
2840
|
"presets": ["calendar", "work"],
|
|
2819
2841
|
"workScopes": ["Place.Read.All"],
|
|
2820
2842
|
"appScopes": ["Place.Read.All"],
|
|
2821
|
-
"llmTip": "The place-id is the room list
|
|
2843
|
+
"llmTip": "The place-id is the room list's email address (as for list-room-list-rooms), and room-id is the specific room ID. Returns full room details including capacity, building, floor, and AV equipment."
|
|
2822
2844
|
},
|
|
2823
2845
|
{
|
|
2824
2846
|
"pathPattern": "/places/{place-id}",
|