@credal/actions 0.2.36 → 0.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actionMapper.js +7 -1
- package/dist/actions/autogen/templates.d.ts +1 -1
- package/dist/actions/autogen/templates.js +166 -165
- package/dist/actions/autogen/types.d.ts +51 -48
- package/dist/actions/autogen/types.js +118 -132
- package/dist/actions/groups.js +2 -1
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
- package/dist/actions/providers/google-oauth/searchDriveByQuery.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveByQuery.js +42 -0
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +1 -2
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +6 -51
- package/package.json +1 -1
@@ -819,21 +819,6 @@ export const resendSendEmailOutputSchema = z.object({
|
|
819
819
|
success: z.boolean().describe("Whether the email was sent successfully"),
|
820
820
|
error: z.string().describe("The error that occurred if the email was not sent successfully").optional(),
|
821
821
|
});
|
822
|
-
export const googleOauthSearchFilesByKeywordsParamsSchema = z.object({
|
823
|
-
keywords: z.array(z.string()).describe("List of keywords to search for in file contents."),
|
824
|
-
});
|
825
|
-
export const googleOauthSearchFilesByKeywordsOutputSchema = z.object({
|
826
|
-
success: z.boolean().describe("Whether the search was successful"),
|
827
|
-
files: z
|
828
|
-
.array(z.object({
|
829
|
-
id: z.string().describe("The file ID"),
|
830
|
-
name: z.string().describe("The file name"),
|
831
|
-
mimeType: z.string().describe("The MIME type of the file"),
|
832
|
-
webViewLink: z.string().describe("The web link to view the file"),
|
833
|
-
}))
|
834
|
-
.describe("List of files matching the search"),
|
835
|
-
error: z.string().describe("Error message if search failed").optional(),
|
836
|
-
});
|
837
822
|
export const googleOauthCreateNewGoogleDocParamsSchema = z.object({
|
838
823
|
title: z.string().describe("The title of the new Google Doc"),
|
839
824
|
content: z.string().describe("The content to add to the new Google Doc").optional(),
|
@@ -869,10 +854,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
869
854
|
text: z.string().describe("The text to insert"),
|
870
855
|
location: z
|
871
856
|
.object({
|
872
|
-
index: z
|
873
|
-
.number()
|
874
|
-
.int()
|
875
|
-
.describe("The zero-based index in the document where to insert the text"),
|
857
|
+
index: z.number().describe("The zero-based index in the document where to insert the text"),
|
876
858
|
})
|
877
859
|
.describe("The location where the text will be inserted"),
|
878
860
|
})
|
@@ -915,7 +897,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
915
897
|
weightedFontFamily: z
|
916
898
|
.object({
|
917
899
|
fontFamily: z.string().describe("The font family of the text").optional(),
|
918
|
-
weight: z.number().
|
900
|
+
weight: z.number().describe("The weight of the font").optional(),
|
919
901
|
})
|
920
902
|
.describe("The font family and weight of the text")
|
921
903
|
.optional(),
|
@@ -924,8 +906,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
924
906
|
fields: z.string().describe("The fields that should be updated"),
|
925
907
|
range: z
|
926
908
|
.object({
|
927
|
-
startIndex: z.number().
|
928
|
-
endIndex: z.number().
|
909
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
910
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
929
911
|
})
|
930
912
|
.describe("The range of text to style")
|
931
913
|
.optional(),
|
@@ -937,8 +919,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
937
919
|
.object({
|
938
920
|
range: z
|
939
921
|
.object({
|
940
|
-
startIndex: z.number().
|
941
|
-
endIndex: z.number().
|
922
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
923
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
942
924
|
})
|
943
925
|
.describe("The range of content to delete"),
|
944
926
|
})
|
@@ -950,10 +932,10 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
950
932
|
tableCellLocation: z
|
951
933
|
.object({
|
952
934
|
tableStartLocation: z
|
953
|
-
.object({ index: z.number().
|
935
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
954
936
|
.describe("The location where the table starts"),
|
955
|
-
rowIndex: z.number().
|
956
|
-
columnIndex: z.number().
|
937
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
938
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
957
939
|
})
|
958
940
|
.describe("The location where the table row will be inserted"),
|
959
941
|
insertBelow: z.boolean().describe("Whether to insert the row below the reference row"),
|
@@ -966,10 +948,10 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
966
948
|
tableCellLocation: z
|
967
949
|
.object({
|
968
950
|
tableStartLocation: z
|
969
|
-
.object({ index: z.number().
|
951
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
970
952
|
.describe("The location where the table starts"),
|
971
|
-
rowIndex: z.number().
|
972
|
-
columnIndex: z.number().
|
953
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
954
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
973
955
|
})
|
974
956
|
.describe("The location where the table column will be inserted"),
|
975
957
|
insertRight: z
|
@@ -984,10 +966,10 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
984
966
|
tableCellLocation: z
|
985
967
|
.object({
|
986
968
|
tableStartLocation: z
|
987
|
-
.object({ index: z.number().
|
969
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
988
970
|
.describe("The location where the table starts"),
|
989
|
-
rowIndex: z.number().
|
990
|
-
columnIndex: z.number().
|
971
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
972
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
991
973
|
})
|
992
974
|
.describe("The location of the row to delete"),
|
993
975
|
})
|
@@ -999,10 +981,10 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
999
981
|
tableCellLocation: z
|
1000
982
|
.object({
|
1001
983
|
tableStartLocation: z
|
1002
|
-
.object({ index: z.number().
|
984
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1003
985
|
.describe("The location where the table starts"),
|
1004
|
-
rowIndex: z.number().
|
1005
|
-
columnIndex: z.number().
|
986
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
987
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
1006
988
|
})
|
1007
989
|
.describe("The location of the column to delete"),
|
1008
990
|
})
|
@@ -1013,8 +995,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1013
995
|
.object({
|
1014
996
|
range: z
|
1015
997
|
.object({
|
1016
|
-
startIndex: z.number().
|
1017
|
-
endIndex: z.number().
|
998
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
999
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
1018
1000
|
})
|
1019
1001
|
.describe("The range of paragraphs to update"),
|
1020
1002
|
paragraphStyle: z
|
@@ -1082,8 +1064,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1082
1064
|
.object({
|
1083
1065
|
range: z
|
1084
1066
|
.object({
|
1085
|
-
startIndex: z.number().
|
1086
|
-
endIndex: z.number().
|
1067
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
1068
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
1087
1069
|
})
|
1088
1070
|
.describe("The range of paragraphs to bullet"),
|
1089
1071
|
bulletPreset: z
|
@@ -1115,8 +1097,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1115
1097
|
.object({
|
1116
1098
|
range: z
|
1117
1099
|
.object({
|
1118
|
-
startIndex: z.number().
|
1119
|
-
endIndex: z.number().
|
1100
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
1101
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
1120
1102
|
})
|
1121
1103
|
.describe("The range of paragraphs to remove bullets from"),
|
1122
1104
|
})
|
@@ -1126,7 +1108,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1126
1108
|
insertPageBreak: z
|
1127
1109
|
.object({
|
1128
1110
|
location: z
|
1129
|
-
.object({ index: z.number().
|
1111
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1130
1112
|
.describe("The location at which to insert the page break"),
|
1131
1113
|
})
|
1132
1114
|
.describe("Inserts a page break"),
|
@@ -1157,11 +1139,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1157
1139
|
marginBottom: z.object({}).catchall(z.any()).describe("The bottom page margin").optional(),
|
1158
1140
|
marginRight: z.object({}).catchall(z.any()).describe("The right page margin").optional(),
|
1159
1141
|
marginLeft: z.object({}).catchall(z.any()).describe("The left page margin").optional(),
|
1160
|
-
pageNumberStart: z
|
1161
|
-
.number()
|
1162
|
-
.int()
|
1163
|
-
.describe("The page number from which to start counting")
|
1164
|
-
.optional(),
|
1142
|
+
pageNumberStart: z.number().describe("The page number from which to start counting").optional(),
|
1165
1143
|
pageSize: z
|
1166
1144
|
.object({
|
1167
1145
|
width: z.object({}).catchall(z.any()).describe("The width of the page").optional(),
|
@@ -1219,7 +1197,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1219
1197
|
.describe("The right border of the cells")
|
1220
1198
|
.optional(),
|
1221
1199
|
borderTop: z.object({}).catchall(z.any()).describe("The top border of the cells").optional(),
|
1222
|
-
columnSpan: z.number().
|
1200
|
+
columnSpan: z.number().describe("The number of columns that the cell spans").optional(),
|
1223
1201
|
contentAlignment: z
|
1224
1202
|
.string()
|
1225
1203
|
.describe("The alignment of the content within the cells")
|
@@ -1240,7 +1218,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1240
1218
|
.describe("The right padding of the cells")
|
1241
1219
|
.optional(),
|
1242
1220
|
paddingTop: z.object({}).catchall(z.any()).describe("The top padding of the cells").optional(),
|
1243
|
-
rowSpan: z.number().
|
1221
|
+
rowSpan: z.number().describe("The number of rows that the cell spans").optional(),
|
1244
1222
|
})
|
1245
1223
|
.describe("The style to apply to the cells"),
|
1246
1224
|
fields: z.string().describe("The fields that should be updated"),
|
@@ -1249,14 +1227,14 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1249
1227
|
tableCellLocation: z
|
1250
1228
|
.object({
|
1251
1229
|
tableStartLocation: z
|
1252
|
-
.object({ index: z.number().
|
1230
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1253
1231
|
.describe("The location where the table starts"),
|
1254
|
-
rowIndex: z.number().
|
1255
|
-
columnIndex: z.number().
|
1232
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
1233
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
1256
1234
|
})
|
1257
1235
|
.describe("The location of the table cell"),
|
1258
|
-
rowSpan: z.number().
|
1259
|
-
columnSpan: z.number().
|
1236
|
+
rowSpan: z.number().describe("The number of rows that the range should span"),
|
1237
|
+
columnSpan: z.number().describe("The number of columns that the range should span"),
|
1260
1238
|
})
|
1261
1239
|
.describe("The table range to apply the style to"),
|
1262
1240
|
})
|
@@ -1270,14 +1248,14 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1270
1248
|
tableCellLocation: z
|
1271
1249
|
.object({
|
1272
1250
|
tableStartLocation: z
|
1273
|
-
.object({ index: z.number().
|
1251
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1274
1252
|
.describe("The location where the table starts"),
|
1275
|
-
rowIndex: z.number().
|
1276
|
-
columnIndex: z.number().
|
1253
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
1254
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
1277
1255
|
})
|
1278
1256
|
.describe("The location of the table cell"),
|
1279
|
-
rowSpan: z.number().
|
1280
|
-
columnSpan: z.number().
|
1257
|
+
rowSpan: z.number().describe("The number of rows that the range should span"),
|
1258
|
+
columnSpan: z.number().describe("The number of columns that the range should span"),
|
1281
1259
|
})
|
1282
1260
|
.describe("The table range to merge"),
|
1283
1261
|
})
|
@@ -1291,14 +1269,14 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1291
1269
|
tableCellLocation: z
|
1292
1270
|
.object({
|
1293
1271
|
tableStartLocation: z
|
1294
|
-
.object({ index: z.number().
|
1272
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1295
1273
|
.describe("The location where the table starts"),
|
1296
|
-
rowIndex: z.number().
|
1297
|
-
columnIndex: z.number().
|
1274
|
+
rowIndex: z.number().describe("The zero-based row index").optional(),
|
1275
|
+
columnIndex: z.number().describe("The zero-based column index").optional(),
|
1298
1276
|
})
|
1299
1277
|
.describe("The location of the table cell"),
|
1300
|
-
rowSpan: z.number().
|
1301
|
-
columnSpan: z.number().
|
1278
|
+
rowSpan: z.number().describe("The number of rows that the range should span"),
|
1279
|
+
columnSpan: z.number().describe("The number of columns that the range should span"),
|
1302
1280
|
})
|
1303
1281
|
.describe("The table range to unmerge"),
|
1304
1282
|
})
|
@@ -1310,8 +1288,8 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1310
1288
|
name: z.string().describe("The name of the range"),
|
1311
1289
|
range: z
|
1312
1290
|
.object({
|
1313
|
-
startIndex: z.number().
|
1314
|
-
endIndex: z.number().
|
1291
|
+
startIndex: z.number().describe("The zero-based starting index of the range"),
|
1292
|
+
endIndex: z.number().describe("The zero-based ending index of the range (exclusive)"),
|
1315
1293
|
})
|
1316
1294
|
.describe("The range to name"),
|
1317
1295
|
})
|
@@ -1334,7 +1312,7 @@ export const googleOauthUpdateDocParamsSchema = z.object({
|
|
1334
1312
|
insertInlineImage: z
|
1335
1313
|
.object({
|
1336
1314
|
location: z
|
1337
|
-
.object({ index: z.number().
|
1315
|
+
.object({ index: z.number().describe("The zero-based index in the document") })
|
1338
1316
|
.describe("The location at which to insert the image"),
|
1339
1317
|
uri: z.string().describe("The image URI"),
|
1340
1318
|
objectSize: z
|
@@ -1396,7 +1374,7 @@ export const googleOauthScheduleCalendarMeetingOutputSchema = z.object({
|
|
1396
1374
|
error: z.string().describe("The error that occurred if the meeting was not scheduled successfully").optional(),
|
1397
1375
|
});
|
1398
1376
|
export const googleOauthListCalendarsParamsSchema = z.object({
|
1399
|
-
maxResults: z.number().
|
1377
|
+
maxResults: z.number().describe("Maximum number of calendars to return, defaults to 250").optional(),
|
1400
1378
|
});
|
1401
1379
|
export const googleOauthListCalendarsOutputSchema = z.object({
|
1402
1380
|
success: z.boolean().describe("Whether the calendars were listed successfully"),
|
@@ -1408,7 +1386,7 @@ export const googleOauthListCalendarsOutputSchema = z.object({
|
|
1408
1386
|
export const googleOauthListCalendarEventsParamsSchema = z.object({
|
1409
1387
|
calendarId: z.string().describe("The ID of the calendar to list events from"),
|
1410
1388
|
query: z.string().describe("Optional free-text search query to filter events").optional(),
|
1411
|
-
maxResults: z.number().
|
1389
|
+
maxResults: z.number().describe("Maximum number of events to return, defaults to 250").optional(),
|
1412
1390
|
timeMin: z
|
1413
1391
|
.string()
|
1414
1392
|
.describe("Optional lower bound (exclusive) for an event's end time to filter by. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z.")
|
@@ -1504,10 +1482,10 @@ export const googleOauthCreateSpreadsheetParamsSchema = z.object({
|
|
1504
1482
|
title: z.string().describe("The title of the sheet").optional(),
|
1505
1483
|
gridProperties: z
|
1506
1484
|
.object({
|
1507
|
-
rowCount: z.number().
|
1508
|
-
columnCount: z.number().
|
1509
|
-
frozenRowCount: z.number().
|
1510
|
-
frozenColumnCount: z.number().
|
1485
|
+
rowCount: z.number().describe("The number of rows in the sheet").optional(),
|
1486
|
+
columnCount: z.number().describe("The number of columns in the sheet").optional(),
|
1487
|
+
frozenRowCount: z.number().describe("The number of frozen rows").optional(),
|
1488
|
+
frozenColumnCount: z.number().describe("The number of frozen columns").optional(),
|
1511
1489
|
})
|
1512
1490
|
.optional(),
|
1513
1491
|
}))
|
@@ -1528,9 +1506,9 @@ export const googleOauthCreateSpreadsheetOutputSchema = z.object({
|
|
1528
1506
|
spreadsheetUrl: z.string().describe("The URL to access the created spreadsheet").optional(),
|
1529
1507
|
sheets: z
|
1530
1508
|
.array(z.object({
|
1531
|
-
sheetId: z.number().
|
1509
|
+
sheetId: z.number().describe("The ID of the sheet").optional(),
|
1532
1510
|
title: z.string().describe("The title of the sheet").optional(),
|
1533
|
-
index: z.number().
|
1511
|
+
index: z.number().describe("The index of the sheet").optional(),
|
1534
1512
|
}))
|
1535
1513
|
.describe("Information about the created sheets")
|
1536
1514
|
.optional(),
|
@@ -1553,8 +1531,8 @@ export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
1553
1531
|
title: z.string().describe("The title of the new sheet").optional(),
|
1554
1532
|
gridProperties: z
|
1555
1533
|
.object({
|
1556
|
-
rowCount: z.number().
|
1557
|
-
columnCount: z.number().
|
1534
|
+
rowCount: z.number().describe("The number of rows in the sheet").optional(),
|
1535
|
+
columnCount: z.number().describe("The number of columns in the sheet").optional(),
|
1558
1536
|
})
|
1559
1537
|
.optional(),
|
1560
1538
|
})
|
@@ -1566,7 +1544,7 @@ export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
1566
1544
|
z
|
1567
1545
|
.object({
|
1568
1546
|
deleteSheet: z
|
1569
|
-
.object({ sheetId: z.number().
|
1547
|
+
.object({ sheetId: z.number().describe("The ID of the sheet to delete").optional() })
|
1570
1548
|
.optional(),
|
1571
1549
|
})
|
1572
1550
|
.describe("Delete a sheet"),
|
@@ -1576,15 +1554,11 @@ export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
1576
1554
|
.object({
|
1577
1555
|
range: z
|
1578
1556
|
.object({
|
1579
|
-
sheetId: z.number().
|
1580
|
-
startRowIndex: z.number().
|
1581
|
-
endRowIndex: z.number().
|
1582
|
-
startColumnIndex: z
|
1583
|
-
|
1584
|
-
.int()
|
1585
|
-
.describe("The start column (0-based, inclusive)")
|
1586
|
-
.optional(),
|
1587
|
-
endColumnIndex: z.number().int().describe("The end column (0-based, exclusive)").optional(),
|
1557
|
+
sheetId: z.number().describe("The ID of the sheet").optional(),
|
1558
|
+
startRowIndex: z.number().describe("The start row (0-based, inclusive)").optional(),
|
1559
|
+
endRowIndex: z.number().describe("The end row (0-based, exclusive)").optional(),
|
1560
|
+
startColumnIndex: z.number().describe("The start column (0-based, inclusive)").optional(),
|
1561
|
+
endColumnIndex: z.number().describe("The end column (0-based, exclusive)").optional(),
|
1588
1562
|
})
|
1589
1563
|
.optional(),
|
1590
1564
|
rows: z
|
@@ -1613,14 +1587,14 @@ export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
1613
1587
|
.object({
|
1614
1588
|
properties: z
|
1615
1589
|
.object({
|
1616
|
-
sheetId: z.number().
|
1590
|
+
sheetId: z.number().describe("The ID of the sheet to update").optional(),
|
1617
1591
|
title: z.string().describe("The new title of the sheet").optional(),
|
1618
1592
|
gridProperties: z
|
1619
1593
|
.object({
|
1620
|
-
rowCount: z.number().
|
1621
|
-
columnCount: z.number().
|
1622
|
-
frozenRowCount: z.number().
|
1623
|
-
frozenColumnCount: z.number().
|
1594
|
+
rowCount: z.number().describe("The new number of rows").optional(),
|
1595
|
+
columnCount: z.number().describe("The new number of columns").optional(),
|
1596
|
+
frozenRowCount: z.number().describe("The number of frozen rows").optional(),
|
1597
|
+
frozenColumnCount: z.number().describe("The number of frozen columns").optional(),
|
1624
1598
|
})
|
1625
1599
|
.optional(),
|
1626
1600
|
})
|
@@ -1688,7 +1662,7 @@ export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
1688
1662
|
})
|
1689
1663
|
.optional(),
|
1690
1664
|
fontFamily: z.string().describe("The font family").optional(),
|
1691
|
-
fontSize: z.number().
|
1665
|
+
fontSize: z.number().describe("The size of the font in points").optional(),
|
1692
1666
|
bold: z.boolean().describe("Whether the text is bold").optional(),
|
1693
1667
|
italic: z.boolean().describe("Whether the text is italic").optional(),
|
1694
1668
|
strikethrough: z
|
@@ -1736,9 +1710,9 @@ export const googleOauthUpdateSpreadsheetOutputSchema = z.object({
|
|
1736
1710
|
.object({
|
1737
1711
|
properties: z
|
1738
1712
|
.object({
|
1739
|
-
sheetId: z.number().
|
1713
|
+
sheetId: z.number().describe("The ID of the newly created sheet").optional(),
|
1740
1714
|
title: z.string().describe("The title of the new sheet").optional(),
|
1741
|
-
index: z.number().
|
1715
|
+
index: z.number().describe("The index of the new sheet").optional(),
|
1742
1716
|
})
|
1743
1717
|
.optional(),
|
1744
1718
|
})
|
@@ -1791,7 +1765,6 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1791
1765
|
objectId: z.string().describe("The object ID for the created slide").optional(),
|
1792
1766
|
insertionIndex: z
|
1793
1767
|
.number()
|
1794
|
-
.int()
|
1795
1768
|
.describe("The 0-based index where the new slide should be inserted")
|
1796
1769
|
.optional(),
|
1797
1770
|
slideLayoutReference: z
|
@@ -1818,8 +1791,8 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1818
1791
|
createTable: z
|
1819
1792
|
.object({
|
1820
1793
|
objectId: z.string().describe("The object ID for the created table").optional(),
|
1821
|
-
rows: z.number().
|
1822
|
-
columns: z.number().
|
1794
|
+
rows: z.number().describe("Number of rows in the table"),
|
1795
|
+
columns: z.number().describe("Number of columns in the table"),
|
1823
1796
|
elementProperties: z
|
1824
1797
|
.object({})
|
1825
1798
|
.catchall(z.any())
|
@@ -1833,7 +1806,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1833
1806
|
.object({
|
1834
1807
|
objectId: z.string().describe("The object ID of the shape or table cell"),
|
1835
1808
|
text: z.string().describe("The text to be inserted"),
|
1836
|
-
insertionIndex: z.number().
|
1809
|
+
insertionIndex: z.number().describe("The index where the text will be inserted").optional(),
|
1837
1810
|
})
|
1838
1811
|
.describe("Inserts text into a shape or table cell"),
|
1839
1812
|
}),
|
@@ -1842,7 +1815,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1842
1815
|
.object({
|
1843
1816
|
tableObjectId: z.string().describe("The table to insert rows into"),
|
1844
1817
|
insertBelow: z.boolean().describe("Whether to insert the rows below the reference cell"),
|
1845
|
-
number: z.number().
|
1818
|
+
number: z.number().describe("The number of rows to insert").optional(),
|
1846
1819
|
cellLocation: z
|
1847
1820
|
.object({})
|
1848
1821
|
.catchall(z.any())
|
@@ -1858,7 +1831,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1858
1831
|
insertRight: z
|
1859
1832
|
.boolean()
|
1860
1833
|
.describe("Whether to insert the columns to the right of the reference cell"),
|
1861
|
-
number: z.number().
|
1834
|
+
number: z.number().describe("The number of columns to insert").optional(),
|
1862
1835
|
cellLocation: z
|
1863
1836
|
.object({})
|
1864
1837
|
.catchall(z.any())
|
@@ -1923,7 +1896,6 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1923
1896
|
slideObjectIds: z.array(z.string()).describe("The IDs of the slides to reorder"),
|
1924
1897
|
insertionIndex: z
|
1925
1898
|
.number()
|
1926
|
-
.int()
|
1927
1899
|
.describe("The 0-based index where the slides should be moved to")
|
1928
1900
|
.optional(),
|
1929
1901
|
})
|
@@ -1935,8 +1907,8 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1935
1907
|
objectId: z.string().describe("The object ID of the shape or table cell"),
|
1936
1908
|
textRange: z
|
1937
1909
|
.object({
|
1938
|
-
startIndex: z.number().
|
1939
|
-
endIndex: z.number().
|
1910
|
+
startIndex: z.number().describe("The starting index of the range (0-based)").optional(),
|
1911
|
+
endIndex: z.number().describe("The ending index of the range (0-based)").optional(),
|
1940
1912
|
})
|
1941
1913
|
.describe("The range of text to delete")
|
1942
1914
|
.optional(),
|
@@ -1974,7 +1946,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
1974
1946
|
.object({
|
1975
1947
|
objectId: z.string().describe("The object ID for the created chart").optional(),
|
1976
1948
|
spreadsheetId: z.string().describe("The ID of the Google Sheets spreadsheet containing the chart"),
|
1977
|
-
chartId: z.number().
|
1949
|
+
chartId: z.number().describe("The ID of the specific chart in the spreadsheet"),
|
1978
1950
|
elementProperties: z
|
1979
1951
|
.object({})
|
1980
1952
|
.catchall(z.any())
|
@@ -2131,10 +2103,9 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2131
2103
|
.optional(),
|
2132
2104
|
startIndex: z
|
2133
2105
|
.number()
|
2134
|
-
.int()
|
2135
2106
|
.describe("The start index for FROM_START_INDEX or FIXED_RANGE")
|
2136
2107
|
.optional(),
|
2137
|
-
endIndex: z.number().
|
2108
|
+
endIndex: z.number().describe("The end index for FIXED_RANGE").optional(),
|
2138
2109
|
})
|
2139
2110
|
.describe("The range of text to style (defaults to all text if unspecified)")
|
2140
2111
|
.optional(),
|
@@ -2145,7 +2116,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2145
2116
|
replaceAllShapesWithSheetsChart: z
|
2146
2117
|
.object({
|
2147
2118
|
spreadsheetId: z.string().describe("The ID of the Google Sheets spreadsheet containing the chart"),
|
2148
|
-
chartId: z.number().
|
2119
|
+
chartId: z.number().describe("The ID of the chart within the spreadsheet"),
|
2149
2120
|
containsText: z
|
2150
2121
|
.object({
|
2151
2122
|
text: z.string().describe("The text the shape must contain to be replaced"),
|
@@ -2175,10 +2146,9 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2175
2146
|
.optional(),
|
2176
2147
|
startIndex: z
|
2177
2148
|
.number()
|
2178
|
-
.int()
|
2179
2149
|
.describe("The start index for FROM_START_INDEX or FIXED_RANGE")
|
2180
2150
|
.optional(),
|
2181
|
-
endIndex: z.number().
|
2151
|
+
endIndex: z.number().describe("The end index for FIXED_RANGE").optional(),
|
2182
2152
|
})
|
2183
2153
|
.describe("The range of text to delete bullets from (defaults to all text if unspecified)")
|
2184
2154
|
.optional(),
|
@@ -2204,10 +2174,9 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2204
2174
|
.optional(),
|
2205
2175
|
startIndex: z
|
2206
2176
|
.number()
|
2207
|
-
.int()
|
2208
2177
|
.describe("The start index for FROM_START_INDEX or FIXED_RANGE")
|
2209
2178
|
.optional(),
|
2210
|
-
endIndex: z.number().
|
2179
|
+
endIndex: z.number().describe("The end index for FIXED_RANGE").optional(),
|
2211
2180
|
})
|
2212
2181
|
.describe("The range of text to apply the style to (defaults to all paragraphs if unspecified)")
|
2213
2182
|
.optional(),
|
@@ -2233,8 +2202,8 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2233
2202
|
tableRange: z
|
2234
2203
|
.object({
|
2235
2204
|
location: z.object({}).catchall(z.any()).describe("The starting cell location").optional(),
|
2236
|
-
rowSpan: z.number().
|
2237
|
-
columnSpan: z.number().
|
2205
|
+
rowSpan: z.number().describe("The number of rows in the range").optional(),
|
2206
|
+
columnSpan: z.number().describe("The number of columns in the range").optional(),
|
2238
2207
|
})
|
2239
2208
|
.describe("The range of cells whose border should be updated (defaults to the entire table if unspecified)")
|
2240
2209
|
.optional(),
|
@@ -2245,7 +2214,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2245
2214
|
updateTableColumnProperties: z
|
2246
2215
|
.object({
|
2247
2216
|
objectId: z.string().describe("The object ID of the table"),
|
2248
|
-
columnIndices: z.array(z.number()
|
2217
|
+
columnIndices: z.array(z.number()).describe("The 0-based indices of the columns to update"),
|
2249
2218
|
tableColumnProperties: z
|
2250
2219
|
.object({})
|
2251
2220
|
.catchall(z.any())
|
@@ -2260,7 +2229,7 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2260
2229
|
updateTableRowProperties: z
|
2261
2230
|
.object({
|
2262
2231
|
objectId: z.string().describe("The object ID of the table"),
|
2263
|
-
rowIndices: z.array(z.number()
|
2232
|
+
rowIndices: z.array(z.number()).describe("The 0-based indices of the rows to update"),
|
2264
2233
|
tableRowProperties: z
|
2265
2234
|
.object({})
|
2266
2235
|
.catchall(z.any())
|
@@ -2278,8 +2247,8 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2278
2247
|
tableRange: z
|
2279
2248
|
.object({
|
2280
2249
|
location: z.object({}).catchall(z.any()).describe("The starting cell location").optional(),
|
2281
|
-
rowSpan: z.number().
|
2282
|
-
columnSpan: z.number().
|
2250
|
+
rowSpan: z.number().describe("The number of rows in the range").optional(),
|
2251
|
+
columnSpan: z.number().describe("The number of columns in the range").optional(),
|
2283
2252
|
})
|
2284
2253
|
.describe("The range of cells to merge"),
|
2285
2254
|
})
|
@@ -2292,8 +2261,8 @@ export const googleOauthUpdatePresentationParamsSchema = z.object({
|
|
2292
2261
|
tableRange: z
|
2293
2262
|
.object({
|
2294
2263
|
location: z.object({}).catchall(z.any()).describe("The starting cell location").optional(),
|
2295
|
-
rowSpan: z.number().
|
2296
|
-
columnSpan: z.number().
|
2264
|
+
rowSpan: z.number().describe("The number of rows in the range").optional(),
|
2265
|
+
columnSpan: z.number().describe("The number of columns in the range").optional(),
|
2297
2266
|
})
|
2298
2267
|
.describe("The range of cells to unmerge"),
|
2299
2268
|
})
|
@@ -2390,7 +2359,7 @@ export const googleOauthUpdatePresentationOutputSchema = z.object({
|
|
2390
2359
|
});
|
2391
2360
|
export const googleOauthSearchDriveByKeywordsParamsSchema = z.object({
|
2392
2361
|
keywords: z.array(z.string()).describe("List of keywords to search for in file contents."),
|
2393
|
-
limit: z.number().
|
2362
|
+
limit: z.number().describe("The maximum number of files to return").optional(),
|
2394
2363
|
});
|
2395
2364
|
export const googleOauthSearchDriveByKeywordsOutputSchema = z.object({
|
2396
2365
|
success: z.boolean().describe("Whether the search was successful"),
|
@@ -2405,19 +2374,36 @@ export const googleOauthSearchDriveByKeywordsOutputSchema = z.object({
|
|
2405
2374
|
.optional(),
|
2406
2375
|
error: z.string().describe("Error message if search failed").optional(),
|
2407
2376
|
});
|
2377
|
+
export const googleOauthSearchDriveByQueryParamsSchema = z.object({
|
2378
|
+
query: z.string().describe("The query to search for in file contents."),
|
2379
|
+
limit: z.number().describe("The maximum number of files to return").optional(),
|
2380
|
+
});
|
2381
|
+
export const googleOauthSearchDriveByQueryOutputSchema = z.object({
|
2382
|
+
success: z.boolean().describe("Whether the search was successful"),
|
2383
|
+
files: z
|
2384
|
+
.array(z.object({
|
2385
|
+
id: z.string().describe("The file ID"),
|
2386
|
+
name: z.string().describe("The file name"),
|
2387
|
+
mimeType: z.string().describe("The MIME type of the file"),
|
2388
|
+
url: z.string().describe("The web link to view the file"),
|
2389
|
+
}))
|
2390
|
+
.describe("List of files matching the search")
|
2391
|
+
.optional(),
|
2392
|
+
error: z.string().describe("Error message if search failed").optional(),
|
2393
|
+
});
|
2408
2394
|
export const googleOauthGetDriveFileContentByIdParamsSchema = z.object({
|
2409
2395
|
fileId: z.string().describe("The ID of the file to get content from"),
|
2410
|
-
limit: z.number().
|
2396
|
+
limit: z.number().describe("The character limit for the file content"),
|
2411
2397
|
});
|
2412
2398
|
export const googleOauthGetDriveFileContentByIdOutputSchema = z.object({
|
2413
2399
|
success: z.boolean().describe("Whether the file content was retrieved successfully"),
|
2414
2400
|
content: z.string().describe("The content of the file").optional(),
|
2415
2401
|
fileName: z.string().describe("The name of the file").optional(),
|
2416
|
-
fileLength: z.number().
|
2402
|
+
fileLength: z.number().describe("The length of the file content prior to truncating").optional(),
|
2417
2403
|
error: z.string().describe("Error message if file content retrieval failed").optional(),
|
2418
2404
|
});
|
2419
2405
|
export const googleOauthListGroupsParamsSchema = z.object({
|
2420
|
-
maxResults: z.number().
|
2406
|
+
maxResults: z.number().describe("The maximum number of groups to return (max allowed is 200)").optional(),
|
2421
2407
|
});
|
2422
2408
|
export const googleOauthListGroupsOutputSchema = z.object({
|
2423
2409
|
success: z.boolean().describe("Whether the groups were listed successfully"),
|
@@ -2446,7 +2432,7 @@ export const googleOauthGetGroupOutputSchema = z.object({
|
|
2446
2432
|
});
|
2447
2433
|
export const googleOauthListGroupMembersParamsSchema = z.object({
|
2448
2434
|
groupKey: z.string().describe("The group's email address or unique group ID"),
|
2449
|
-
maxResults: z.number().
|
2435
|
+
maxResults: z.number().describe("The maximum number of members to return (max allowed is 200)").optional(),
|
2450
2436
|
});
|
2451
2437
|
export const googleOauthListGroupMembersOutputSchema = z.object({
|
2452
2438
|
success: z.boolean().describe("Whether the members were listed successfully"),
|
@@ -2488,7 +2474,7 @@ export const googleOauthDeleteGroupMemberOutputSchema = z.object({
|
|
2488
2474
|
});
|
2489
2475
|
export const googlemailSearchGmailMessagesParamsSchema = z.object({
|
2490
2476
|
query: z.string().describe('Gmail search query (e.g. "from:alice subject:urgent")'),
|
2491
|
-
maxResults: z.number().
|
2477
|
+
maxResults: z.number().describe("Maximum number of messages to return (optional)").optional(),
|
2492
2478
|
});
|
2493
2479
|
export const googlemailSearchGmailMessagesOutputSchema = z.object({
|
2494
2480
|
success: z.boolean(),
|
@@ -2506,7 +2492,7 @@ export const googlemailSearchGmailMessagesOutputSchema = z.object({
|
|
2506
2492
|
});
|
2507
2493
|
export const googlemailListGmailThreadsParamsSchema = z.object({
|
2508
2494
|
query: z.string().describe('Gmail search query (e.g. "from:alice subject:project")'),
|
2509
|
-
maxResults: z.number().
|
2495
|
+
maxResults: z.number().describe("Maximum number of threads to return").optional(),
|
2510
2496
|
});
|
2511
2497
|
export const googlemailListGmailThreadsOutputSchema = z.object({
|
2512
2498
|
success: z.boolean(),
|
@@ -2577,7 +2563,7 @@ export const oktaGetOktaUserOutputSchema = z.object({
|
|
2577
2563
|
});
|
2578
2564
|
export const oktaListOktaUserGroupsParamsSchema = z.object({
|
2579
2565
|
userId: z.string().describe("The ID of the user whose groups are to be listed."),
|
2580
|
-
maxResults: z.number().
|
2566
|
+
maxResults: z.number().gte(1).describe("The maximum number of results to return.").optional(),
|
2581
2567
|
});
|
2582
2568
|
export const oktaListOktaUserGroupsOutputSchema = z.object({
|
2583
2569
|
success: z.boolean().describe("Whether the groups were successfully retrieved."),
|
@@ -2598,7 +2584,7 @@ export const oktaListOktaGroupsParamsSchema = z.object({
|
|
2598
2584
|
.string()
|
2599
2585
|
.describe("Optional search query to filter groups.\nThis field corresponds to the `search` query parameter in the Okta API's List Groups operation.\nFor detailed information on constructing search queries and available filter expressions, refer to the Okta API documentation:\nhttps://developer.okta.com/docs/api/openapi/okta-management/management/tag/Group/#tag/Group/operation/listGroups!in=query&path=search&t=request\nExample: 'profile.name eq \"My Group\"'\n")
|
2600
2586
|
.optional(),
|
2601
|
-
maxResults: z.number().
|
2587
|
+
maxResults: z.number().gte(1).describe("The maximum number of results to return.").optional(),
|
2602
2588
|
});
|
2603
2589
|
export const oktaListOktaGroupsOutputSchema = z.object({
|
2604
2590
|
success: z.boolean().describe("Whether the groups were successfully retrieved."),
|
@@ -2657,7 +2643,7 @@ export const oktaGetOktaGroupOutputSchema = z.object({
|
|
2657
2643
|
});
|
2658
2644
|
export const oktaListOktaGroupMembersParamsSchema = z.object({
|
2659
2645
|
groupId: z.string().describe("The ID of the group whose members are to be listed."),
|
2660
|
-
maxResults: z.number().
|
2646
|
+
maxResults: z.number().gte(1).describe("The maximum number of results to return.").optional(),
|
2661
2647
|
});
|
2662
2648
|
export const oktaListOktaGroupMembersOutputSchema = z.object({
|
2663
2649
|
success: z.boolean().describe("Whether the members were successfully retrieved."),
|
@@ -2732,7 +2718,7 @@ export const oktaListOktaUsersParamsSchema = z.object({
|
|
2732
2718
|
.string()
|
2733
2719
|
.describe("Optional search query to filter users.\nThis field corresponds to the `search` query parameter in the Okta API's List Users operation.\nFor detailed information on constructing search queries and available filter expressions, refer to the Okta API documentation:\nhttps://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/#tag/User/operation/listUsers!in=query&path=search&t=request\nExample: 'profile.email eq \"my_user@example.com\"'\n")
|
2734
2720
|
.optional(),
|
2735
|
-
maxResults: z.number().
|
2721
|
+
maxResults: z.number().gte(1).describe("The maximum number of results to return.").optional(),
|
2736
2722
|
});
|
2737
2723
|
export const oktaListOktaUsersOutputSchema = z.object({
|
2738
2724
|
success: z.boolean().describe("Whether the user list was successfully retrieved"),
|