T7yrttrd commited on
Commit
3a42fba
·
verified ·
1 Parent(s): 9282ab4

Delete tools_def.py

Browse files
Files changed (1) hide show
  1. tools_def.py +0 -1982
tools_def.py DELETED
@@ -1,1982 +0,0 @@
1
- TOOLS = [
2
- {
3
- "type": "function",
4
- "function": {
5
- "name": "teams_list_my_teams",
6
- "description": "List all Microsoft Teams that the authenticated user is a member of",
7
- "parameters": {
8
- "type": "object",
9
- "properties": {}
10
- }
11
- }
12
- },
13
- {
14
- "type": "function",
15
- "function": {
16
- "name": "teams_list_channels",
17
- "description": "List all channels within a specific Microsoft Team by team_id",
18
- "parameters": {
19
- "type": "object",
20
- "properties": {
21
- "team_id": {"type": "string", "description": "The ID of the Team"}
22
- },
23
- "required": ["team_id"]
24
- }
25
- }
26
- },
27
- {
28
- "type": "function",
29
- "function": {
30
- "name": "teams_create_channel",
31
- "description": "Create a new channel in a Microsoft Team",
32
- "parameters": {
33
- "type": "object",
34
- "properties": {
35
- "team_id": {"type": "string", "description": "The ID of the Team"},
36
- "display_name": {"type": "string", "description": "The channel name"},
37
- "description": {"type": "string", "description": "Channel description"}
38
- },
39
- "required": ["team_id", "display_name"]
40
- }
41
- }
42
- },
43
- {
44
- "type": "function",
45
- "function": {
46
- "name": "teams_list_channel_messages",
47
- "description": "List recent messages from a channel in Microsoft Teams",
48
- "parameters": {
49
- "type": "object",
50
- "properties": {
51
- "team_id": {"type": "string", "description": "The ID of the Team"},
52
- "channel_id": {"type": "string", "description": "The ID of the Channel"},
53
- "top": {"type": "integer", "description": "Number of messages to retrieve, default 10"}
54
- },
55
- "required": ["team_id", "channel_id"]
56
- }
57
- }
58
- },
59
- {
60
- "type": "function",
61
- "function": {
62
- "name": "teams_send_channel_message",
63
- "description": "Send a message to a specific Microsoft Teams channel",
64
- "parameters": {
65
- "type": "object",
66
- "properties": {
67
- "team_id": {"type": "string", "description": "The ID of the Team"},
68
- "channel_id": {"type": "string", "description": "The ID of the Channel"},
69
- "content": {"type": "string", "description": "The message body text or HTML content"}
70
- },
71
- "required": ["team_id", "channel_id", "content"]
72
- }
73
- }
74
- },
75
- {
76
- "type": "function",
77
- "function": {
78
- "name": "teams_reply_channel_message",
79
- "description": "Reply to an existing message thread in a Microsoft Teams channel",
80
- "parameters": {
81
- "type": "object",
82
- "properties": {
83
- "team_id": {"type": "string", "description": "The ID of the Team"},
84
- "channel_id": {"type": "string", "description": "The ID of the Channel"},
85
- "message_id": {"type": "string", "description": "The ID of the parent message to reply to"},
86
- "content": {"type": "string", "description": "The reply message body text"}
87
- },
88
- "required": ["team_id", "channel_id", "message_id", "content"]
89
- }
90
- }
91
- },
92
- {
93
- "type": "function",
94
- "function": {
95
- "name": "teams_list_chats",
96
- "description": "List 1-on-1 and group chats of the user in Microsoft Teams",
97
- "parameters": {
98
- "type": "object",
99
- "properties": {
100
- "top": {"type": "integer", "description": "Number of chats to fetch, default 10"}
101
- }
102
- }
103
- }
104
- },
105
- {
106
- "type": "function",
107
- "function": {
108
- "name": "teams_get_chat_messages",
109
- "description": "Get messages from a specific 1-on-1 or group chat by chat_id",
110
- "parameters": {
111
- "type": "object",
112
- "properties": {
113
- "chat_id": {"type": "string", "description": "The ID of the chat"},
114
- "top": {"type": "integer", "description": "Number of messages, default 10"}
115
- },
116
- "required": ["chat_id"]
117
- }
118
- }
119
- },
120
- {
121
- "type": "function",
122
- "function": {
123
- "name": "teams_send_chat_message",
124
- "description": "Send a message to a 1-on-1 or group chat in Microsoft Teams",
125
- "parameters": {
126
- "type": "object",
127
- "properties": {
128
- "chat_id": {"type": "string", "description": "The ID of the chat"},
129
- "content": {"type": "string", "description": "The message body text or HTML content"}
130
- },
131
- "required": ["chat_id", "content"]
132
- }
133
- }
134
- },
135
- {
136
- "type": "function",
137
- "function": {
138
- "name": "teams_create_chat",
139
- "description": "Create a new 1-on-1 or group chat in Microsoft Teams with target user emails/IDs",
140
- "parameters": {
141
- "type": "object",
142
- "properties": {
143
- "user_principal_names": {"type": "string", "description": "Comma-separated email addresses of the users to include in the chat"},
144
- "topic": {"type": "string", "description": "Optional title for a group chat"}
145
- },
146
- "required": ["user_principal_names"]
147
- }
148
- }
149
- },
150
- {
151
- "type": "function",
152
- "function": {
153
- "name": "teams_create_online_meeting",
154
- "description": "Create or schedule a Microsoft Teams online meeting with join URL and conference ID",
155
- "parameters": {
156
- "type": "object",
157
- "properties": {
158
- "subject": {"type": "string", "description": "Subject/Title of the online meeting"},
159
- "start_datetime": {"type": "string", "description": "ISO start datetime string e.g. '2026-08-20T14:00:00Z'"},
160
- "end_datetime": {"type": "string", "description": "ISO end datetime string e.g. '2026-08-20T15:00:00Z'"}
161
- },
162
- "required": ["subject", "start_datetime", "end_datetime"]
163
- }
164
- }
165
- },
166
- {
167
- "type": "function",
168
- "function": {
169
- "name": "teams_get_meeting_details",
170
- "description": "Get details of an online meeting in Microsoft Teams by meeting_id",
171
- "parameters": {
172
- "type": "object",
173
- "properties": {
174
- "meeting_id": {"type": "string", "description": "The ID of the online meeting"}
175
- },
176
- "required": ["meeting_id"]
177
- }
178
- }
179
- },
180
- {
181
- "type": "function",
182
- "function": {
183
- "name": "teams_get_meeting_transcripts",
184
- "description": "Retrieve the transcript content of a Microsoft Teams meeting to summarize or analyze",
185
- "parameters": {
186
- "type": "object",
187
- "properties": {
188
- "meeting_id": {"type": "string", "description": "The ID of the online meeting"}
189
- },
190
- "required": ["meeting_id"]
191
- }
192
- }
193
- },
194
- {
195
- "type": "function",
196
- "function": {
197
- "name": "teams_get_user_presence",
198
- "description": "Get the presence/availability status (Available, Busy, Away, DoNotDisturb) of the user or a target user ID",
199
- "parameters": {
200
- "type": "object",
201
- "properties": {
202
- "target_user_id": {"type": "string", "description": "Optional user ID (if omitted, checks current user presence)"}
203
- }
204
- }
205
- }
206
- },
207
- {
208
- "type": "function",
209
- "function": {
210
- "name": "teams_list_team_members",
211
- "description": "List all members and their roles in a specific Microsoft Team",
212
- "parameters": {
213
- "type": "object",
214
- "properties": {
215
- "team_id": {"type": "string", "description": "The ID of the Team"}
216
- },
217
- "required": ["team_id"]
218
- }
219
- }
220
- },
221
- {
222
- "type": "function",
223
- "function": {
224
- "name": "teams_add_team_member",
225
- "description": "Add a new member to a Microsoft Team by user ID",
226
- "parameters": {
227
- "type": "object",
228
- "properties": {
229
- "team_id": {"type": "string", "description": "The ID of the Team"},
230
- "user_id_to_add": {"type": "string", "description": "The Microsoft Azure AD / Graph user ID"},
231
- "roles": {"type": "string", "description": "Roles e.g. 'owner' or empty for default member"}
232
- },
233
- "required": ["team_id", "user_id_to_add"]
234
- }
235
- }
236
- },
237
- {
238
- "type": "function",
239
- "function": {
240
- "name": "teams_api_request",
241
- "description": "Execute any generic Microsoft Graph REST API endpoint for Teams or Microsoft 365",
242
- "parameters": {
243
- "type": "object",
244
- "properties": {
245
- "endpoint": {"type": "string", "description": "Relative endpoint path starting with /v1.0/ or /beta/ e.g. '/v1.0/me/joinedTeams'"},
246
- "method": {"type": "string", "description": "HTTP method: GET, POST, PATCH, PUT, DELETE. Default: GET"},
247
- "body_json": {"type": "string", "description": "JSON string body for POST/PATCH/PUT requests"}
248
- },
249
- "required": ["endpoint"]
250
- }
251
- }
252
- },
253
- {
254
- "type": "function",
255
- "function": {
256
- "name": "microsoft_search_files",
257
- "description": "Search files and documents (Word, Excel, PowerPoint, PDF) in user's Microsoft OneDrive",
258
- "parameters": {
259
- "type": "object",
260
- "properties": {
261
- "query": {"type": "string", "description": "Search keyword or filename to search in OneDrive"}
262
- }
263
- }
264
- }
265
- },
266
- {
267
- "type": "function",
268
- "function": {
269
- "name": "excel_list_worksheets",
270
- "description": "List all worksheets in an Excel workbook by its OneDrive item_id",
271
- "parameters": {
272
- "type": "object",
273
- "properties": {
274
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"}
275
- },
276
- "required": ["item_id"]
277
- }
278
- }
279
- },
280
- {
281
- "type": "function",
282
- "function": {
283
- "name": "excel_add_worksheet",
284
- "description": "Add a new worksheet to an Excel workbook",
285
- "parameters": {
286
- "type": "object",
287
- "properties": {
288
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
289
- "name": {"type": "string", "description": "Name for the new worksheet"}
290
- },
291
- "required": ["item_id", "name"]
292
- }
293
- }
294
- },
295
- {
296
- "type": "function",
297
- "function": {
298
- "name": "excel_get_range",
299
- "description": "Read cell values and range content from an Excel worksheet (e.g. 'A1:D10')",
300
- "parameters": {
301
- "type": "object",
302
- "properties": {
303
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
304
- "worksheet_name": {"type": "string", "description": "The name of the worksheet (e.g. 'Sheet1')"},
305
- "address": {"type": "string", "description": "Cell range address (e.g. 'A1:E20' or 'A1')"}
306
- },
307
- "required": ["item_id", "worksheet_name", "address"]
308
- }
309
- }
310
- },
311
- {
312
- "type": "function",
313
- "function": {
314
- "name": "excel_update_range",
315
- "description": "Update or insert cell values in an Excel worksheet using a 2D JSON array",
316
- "parameters": {
317
- "type": "object",
318
- "properties": {
319
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
320
- "worksheet_name": {"type": "string", "description": "The name of the worksheet"},
321
- "address": {"type": "string", "description": "Target cell range address (e.g. 'A1:C2')"},
322
- "values_json": {"type": "string", "description": "2D JSON array string of values e.g. '[[\"Name\", \"Score\"], [\"John\", 95]]'"}
323
- },
324
- "required": ["item_id", "worksheet_name", "address", "values_json"]
325
- }
326
- }
327
- },
328
- {
329
- "type": "function",
330
- "function": {
331
- "name": "excel_list_tables",
332
- "description": "List all structured tables in an Excel workbook or specific worksheet",
333
- "parameters": {
334
- "type": "object",
335
- "properties": {
336
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
337
- "worksheet_name": {"type": "string", "description": "Optional worksheet name filter"}
338
- },
339
- "required": ["item_id"]
340
- }
341
- }
342
- },
343
- {
344
- "type": "function",
345
- "function": {
346
- "name": "excel_create_table",
347
- "description": "Create a new structured data table with headers in an Excel worksheet",
348
- "parameters": {
349
- "type": "object",
350
- "properties": {
351
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
352
- "worksheet_name": {"type": "string", "description": "The name of the worksheet"},
353
- "address": {"type": "string", "description": "Cell range address for the table e.g. 'A1:D10'"},
354
- "has_headers": {"type": "boolean", "description": "Whether the first row contains headers. Default: true"}
355
- },
356
- "required": ["item_id", "worksheet_name", "address"]
357
- }
358
- }
359
- },
360
- {
361
- "type": "function",
362
- "function": {
363
- "name": "excel_add_table_row",
364
- "description": "Append a new row of data to an existing Excel table",
365
- "parameters": {
366
- "type": "object",
367
- "properties": {
368
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
369
- "table_name_or_id": {"type": "string", "description": "The name or ID of the table"},
370
- "values_json": {"type": "string", "description": "2D JSON array string of row values e.g. '[[\"Product A\", 120, 45.5]]'"}
371
- },
372
- "required": ["item_id", "table_name_or_id", "values_json"]
373
- }
374
- }
375
- },
376
- {
377
- "type": "function",
378
- "function": {
379
- "name": "excel_create_chart",
380
- "description": "Create a chart (ColumnClustered, Line, Pie, BarClustered, Area) in an Excel worksheet",
381
- "parameters": {
382
- "type": "object",
383
- "properties": {
384
- "item_id": {"type": "string", "description": "The item ID of the Excel file in OneDrive"},
385
- "worksheet_name": {"type": "string", "description": "The name of the worksheet"},
386
- "chart_type": {"type": "string", "description": "Chart type e.g. 'ColumnClustered', 'Line', 'Pie', 'BarClustered', 'Area'"},
387
- "source_data_address": {"type": "string", "description": "Cell range address of source data e.g. 'A1:B10'"},
388
- "series_by": {"type": "string", "description": "Series grouping: 'Auto', 'Rows', 'Columns'. Default: 'Auto'"}
389
- },
390
- "required": ["item_id", "worksheet_name", "chart_type", "source_data_address"]
391
- }
392
- }
393
- },
394
- {
395
- "type": "function",
396
- "function": {
397
- "name": "word_create_document",
398
- "description": "Create a new Microsoft Word document (.docx) on OneDrive with initial text",
399
- "parameters": {
400
- "type": "object",
401
- "properties": {
402
- "file_name": {"type": "string", "description": "The name of the Word file e.g. 'ProjectReport.docx'"},
403
- "initial_text": {"type": "string", "description": "Initial text content of the document"},
404
- "folder_id": {"type": "string", "description": "Destination folder ID or 'root'. Default: 'root'"}
405
- },
406
- "required": ["file_name"]
407
- }
408
- }
409
- },
410
- {
411
- "type": "function",
412
- "function": {
413
- "name": "word_read_document_text",
414
- "description": "Read content and text of a Microsoft Word document by item_id",
415
- "parameters": {
416
- "type": "object",
417
- "properties": {
418
- "item_id": {"type": "string", "description": "The item ID of the Word document in OneDrive"}
419
- },
420
- "required": ["item_id"]
421
- }
422
- }
423
- },
424
- {
425
- "type": "function",
426
- "function": {
427
- "name": "word_append_text",
428
- "description": "Append paragraphs, sections, or headings to an existing Microsoft Word document",
429
- "parameters": {
430
- "type": "object",
431
- "properties": {
432
- "item_id": {"type": "string", "description": "The item ID of the Word document in OneDrive"},
433
- "text": {"type": "string", "description": "The text content to append"},
434
- "heading_level": {"type": "integer", "description": "Heading level: 0 for normal text, 1 for Heading 1, 2 for Heading 2. Default: 0"}
435
- },
436
- "required": ["item_id", "text"]
437
- }
438
- }
439
- },
440
- {
441
- "type": "function",
442
- "function": {
443
- "name": "word_find_and_replace",
444
- "description": "Find specific text and replace it with new content in a Microsoft Word document",
445
- "parameters": {
446
- "type": "object",
447
- "properties": {
448
- "item_id": {"type": "string", "description": "The item ID of the Word document in OneDrive"},
449
- "find_text": {"type": "string", "description": "The text to find"},
450
- "replace_text": {"type": "string", "description": "The text to replace it with"}
451
- },
452
- "required": ["item_id", "find_text", "replace_text"]
453
- }
454
- }
455
- },
456
- {
457
- "type": "function",
458
- "function": {
459
- "name": "word_convert_to_pdf",
460
- "description": "Get PDF conversion endpoint and direct PDF download stream for a Microsoft Word document",
461
- "parameters": {
462
- "type": "object",
463
- "properties": {
464
- "item_id": {"type": "string", "description": "The item ID of the Word document in OneDrive"}
465
- },
466
- "required": ["item_id"]
467
- }
468
- }
469
- },
470
- {
471
- "type": "function",
472
- "function": {
473
- "name": "powerpoint_create_presentation",
474
- "description": "Create a new Microsoft PowerPoint presentation (.pptx) on OneDrive with title slide",
475
- "parameters": {
476
- "type": "object",
477
- "properties": {
478
- "file_name": {"type": "string", "description": "The name of the presentation file e.g. 'PitchDeck.pptx'"},
479
- "title": {"type": "string", "description": "Title of the presentation"},
480
- "folder_id": {"type": "string", "description": "Destination folder ID or 'root'. Default: 'root'"}
481
- },
482
- "required": ["file_name"]
483
- }
484
- }
485
- },
486
- {
487
- "type": "function",
488
- "function": {
489
- "name": "powerpoint_get_presentation_details",
490
- "description": "Get metadata, web URL, and information about a Microsoft PowerPoint presentation",
491
- "parameters": {
492
- "type": "object",
493
- "properties": {
494
- "item_id": {"type": "string", "description": "The item ID of the PowerPoint file in OneDrive"}
495
- },
496
- "required": ["item_id"]
497
- }
498
- }
499
- },
500
- {
501
- "type": "function",
502
- "function": {
503
- "name": "powerpoint_add_slide_content",
504
- "description": "Add a new slide with title and bullet points to an existing PowerPoint presentation",
505
- "parameters": {
506
- "type": "object",
507
- "properties": {
508
- "item_id": {"type": "string", "description": "The item ID of the PowerPoint file in OneDrive"},
509
- "slide_title": {"type": "string", "description": "Title for the slide"},
510
- "bullet_points_json": {"type": "string", "description": "JSON array string of bullet points e.g. '[\"Point 1\", \"Point 2\"]'"}
511
- },
512
- "required": ["item_id", "slide_title"]
513
- }
514
- }
515
- },
516
- {
517
- "type": "function",
518
- "function": {
519
- "name": "powerpoint_convert_to_pdf",
520
- "description": "Get PDF conversion endpoint and direct PDF download stream for a Microsoft PowerPoint presentation",
521
- "parameters": {
522
- "type": "object",
523
- "properties": {
524
- "item_id": {"type": "string", "description": "The item ID of the PowerPoint presentation in OneDrive"}
525
- },
526
- "required": ["item_id"]
527
- }
528
- }
529
- },
530
- {
531
- "type": "function",
532
- "function": {
533
- "name": "gmail_search_emails",
534
- "description": "Search or list emails in user's Gmail inbox using a query",
535
- "parameters": {
536
- "type": "object",
537
- "properties": {
538
- "query": {"type": "string", "description": "Search query e.g. 'from:boss', 'is:unread', 'subject:meeting' or empty for recent"},
539
- "max_results": {"type": "integer", "description": "Number of emails to fetch, default 5"}
540
- }
541
- }
542
- }
543
- },
544
- {
545
- "type": "function",
546
- "function": {
547
- "name": "gmail_get_email_detail",
548
- "description": "Get full details and content of a specific email by message_id",
549
- "parameters": {
550
- "type": "object",
551
- "properties": {
552
- "message_id": {"type": "string", "description": "The ID of the email message"}
553
- },
554
- "required": ["message_id"]
555
- }
556
- }
557
- },
558
- {
559
- "type": "function",
560
- "function": {
561
- "name": "gmail_create_draft",
562
- "description": "Create a new draft email in user's Gmail",
563
- "parameters": {
564
- "type": "object",
565
- "properties": {
566
- "to": {"type": "string", "description": "Recipient email address"},
567
- "subject": {"type": "string", "description": "Email subject line"},
568
- "body": {"type": "string", "description": "Email body content"}
569
- },
570
- "required": ["to", "subject", "body"]
571
- }
572
- }
573
- },
574
- {
575
- "type": "function",
576
- "function": {
577
- "name": "gmail_update_draft",
578
- "description": "Update or edit an existing draft email in user's Gmail by draft_id",
579
- "parameters": {
580
- "type": "object",
581
- "properties": {
582
- "draft_id": {"type": "string", "description": "The ID of the draft to update"},
583
- "to": {"type": "string", "description": "Recipient email address"},
584
- "subject": {"type": "string", "description": "Email subject line"},
585
- "body": {"type": "string", "description": "Email body content"}
586
- },
587
- "required": ["draft_id"]
588
- }
589
- }
590
- },
591
- {
592
- "type": "function",
593
- "function": {
594
- "name": "gmail_send_email",
595
- "description": "Send an email immediately from user's Gmail account",
596
- "parameters": {
597
- "type": "object",
598
- "properties": {
599
- "to": {"type": "string", "description": "Recipient email address"},
600
- "subject": {"type": "string", "description": "Email subject line"},
601
- "body": {"type": "string", "description": "Email body content"}
602
- },
603
- "required": ["to", "subject", "body"]
604
- }
605
- }
606
- },
607
- {
608
- "type": "function",
609
- "function": {
610
- "name": "gmail_delete_email",
611
- "description": "Delete or trash emails/threads from Gmail by message_id, thread_id, or by search query in bulk (e.g. 'from:huggingface', 'huggingface', or subject keyword)",
612
- "parameters": {
613
- "type": "object",
614
- "properties": {
615
- "message_id": {"type": "string", "description": "The ID of the specific email message or thread to delete"},
616
- "query": {"type": "string", "description": "Search query or sender/subject keyword to find and delete matching email threads/messages in bulk"}
617
- }
618
- }
619
- }
620
- },
621
- {
622
- "type": "function",
623
- "function": {
624
- "name": "gmail_delete_draft",
625
- "description": "Delete or discard a draft email by subject or draft_id",
626
- "parameters": {
627
- "type": "object",
628
- "properties": {
629
- "draft_id": {"type": "string", "description": "The ID of the draft to delete"},
630
- "query": {"type": "string", "description": "Search text or subject to find the draft"}
631
- }
632
- }
633
- }
634
- },
635
- {
636
- "type": "function",
637
- "function": {
638
- "name": "calendar_list_events",
639
- "description": "Fetch or search upcoming and scheduled events from Google Calendar",
640
- "parameters": {
641
- "type": "object",
642
- "properties": {
643
- "query": {"type": "string", "description": "Optional search term to filter events by title or keyword"},
644
- "max_results": {"type": "integer", "description": "Number of events to fetch, default 10"}
645
- }
646
- }
647
- }
648
- },
649
- {
650
- "type": "function",
651
- "function": {
652
- "name": "calendar_create_event",
653
- "description": "Create a new event/meeting in Google Calendar",
654
- "parameters": {
655
- "type": "object",
656
- "properties": {
657
- "summary": {"type": "string", "description": "Event title or summary"},
658
- "start_time": {"type": "string", "description": "Start ISO datetime string e.g. 2026-08-15T09:00:00Z"},
659
- "end_time": {"type": "string", "description": "End ISO datetime string e.g. 2026-08-15T10:00:00Z"},
660
- "description": {"type": "string", "description": "Optional event description"},
661
- "location": {"type": "string", "description": "Optional event location"}
662
- },
663
- "required": ["summary", "start_time", "end_time"]
664
- }
665
- }
666
- },
667
- {
668
- "type": "function",
669
- "function": {
670
- "name": "calendar_update_event",
671
- "description": "Update an existing event in Google Calendar by event_id or search query/title",
672
- "parameters": {
673
- "type": "object",
674
- "properties": {
675
- "event_id": {"type": "string", "description": "The ID of the event to update (optional if query or summary is provided)"},
676
- "query": {"type": "string", "description": "Search keyword or original title of the event to find and update"},
677
- "summary": {"type": "string", "description": "New event title"},
678
- "start_time": {"type": "string", "description": "New start ISO datetime"},
679
- "end_time": {"type": "string", "description": "New end ISO datetime"},
680
- "description": {"type": "string", "description": "New description"},
681
- "location": {"type": "string", "description": "New event location"}
682
- }
683
- }
684
- }
685
- },
686
- {
687
- "type": "function",
688
- "function": {
689
- "name": "calendar_delete_event",
690
- "description": "Delete an event from Google Calendar by event_id or search query/title",
691
- "parameters": {
692
- "type": "object",
693
- "properties": {
694
- "event_id": {"type": "string", "description": "The ID of the event to delete (optional if query is provided)"},
695
- "query": {"type": "string", "description": "Search keyword or title of the event to find and delete"}
696
- }
697
- }
698
- }
699
- },
700
- {
701
- "type": "function",
702
- "function": {
703
- "name": "drive_search_files",
704
- "description": "Search files and Google Docs in Google Drive by name, title, or type",
705
- "parameters": {
706
- "type": "object",
707
- "properties": {
708
- "query": {"type": "string", "description": "Search text, document name, or filename query"}
709
- }
710
- }
711
- }
712
- },
713
- {
714
- "type": "function",
715
- "function": {
716
- "name": "drive_read_file",
717
- "description": "Read text contents of a Google Doc, Spreadsheet, or file in Google Drive by file_id",
718
- "parameters": {
719
- "type": "object",
720
- "properties": {
721
- "file_id": {"type": "string", "description": "The ID of the file or Google Doc in Google Drive"}
722
- },
723
- "required": ["file_id"]
724
- }
725
- }
726
- },
727
- {
728
- "type": "function",
729
- "function": {
730
- "name": "drive_create_file",
731
- "description": "Create a new Google Doc or text file in Google Drive with a specified title and text content",
732
- "parameters": {
733
- "type": "object",
734
- "properties": {
735
- "name": {"type": "string", "description": "The title or name of the Google Doc or file to create"},
736
- "content": {"type": "string", "description": "The text content or body to insert into the document"},
737
- "folder_id": {"type": "string", "description": "Optional parent folder ID to save the file into"}
738
- },
739
- "required": ["name"]
740
- }
741
- }
742
- },
743
- {
744
- "type": "function",
745
- "function": {
746
- "name": "drive_delete_file",
747
- "description": "Delete a file or Google Doc from Google Drive by file_id or search query/title",
748
- "parameters": {
749
- "type": "object",
750
- "properties": {
751
- "file_id": {"type": "string", "description": "The ID of the file to delete (optional if query is provided)"},
752
- "query": {"type": "string", "description": "Search keyword or title of the file to find and delete"}
753
- }
754
- }
755
- }
756
- },
757
- {
758
- "type": "function",
759
- "function": {
760
- "name": "drive_update_file",
761
- "description": "Update, edit text content, find and replace text, or rename a Google Doc or file in Google Drive",
762
- "parameters": {
763
- "type": "object",
764
- "properties": {
765
- "file_id": {"type": "string", "description": "The ID of the file or Google Doc to update (optional if query or name is provided)"},
766
- "query": {"type": "string", "description": "Search keyword or original document title to find the file if file_id is not known"},
767
- "name": {"type": "string", "description": "Current file name or target document name"},
768
- "new_name": {"type": "string", "description": "New title/name when renaming the Google Doc or file"},
769
- "content": {"type": "string", "description": "New complete text content to update/replace the document with"},
770
- "find_text": {"type": "string", "description": "Specific text or phrase inside the Google Doc to find and replace"},
771
- "replace_text": {"type": "string", "description": "New text to replace the found text with"}
772
- }
773
- }
774
- }
775
- },
776
- {
777
- "type": "function",
778
- "function": {
779
- "name": "notion_search",
780
- "description": "Search Notion pages, databases, or documents by query",
781
- "parameters": {
782
- "type": "object",
783
- "properties": {
784
- "query": {"type": "string", "description": "Search keyword or empty to list recent pages"},
785
- "max_results": {"type": "integer", "description": "Number of results to fetch, default 5"}
786
- }
787
- }
788
- }
789
- },
790
- {
791
- "type": "function",
792
- "function": {
793
- "name": "notion_get_page_content",
794
- "description": "Read text content and blocks of a specific Notion page by page_id",
795
- "parameters": {
796
- "type": "object",
797
- "properties": {
798
- "page_id": {"type": "string", "description": "The ID of the Notion page"}
799
- },
800
- "required": ["page_id"]
801
- }
802
- }
803
- },
804
- {
805
- "type": "function",
806
- "function": {
807
- "name": "notion_create_page",
808
- "description": "Create a new page in Notion inside a parent page or database",
809
- "parameters": {
810
- "type": "object",
811
- "properties": {
812
- "parent_id": {"type": "string", "description": "Optional parent page or database ID"},
813
- "title": {"type": "string", "description": "Title of the new Notion page"},
814
- "content": {"type": "string", "description": "Initial text content for the page"}
815
- },
816
- "required": ["title"]
817
- }
818
- }
819
- },
820
- {
821
- "type": "function",
822
- "function": {
823
- "name": "notion_update_page",
824
- "description": "Update or edit content/title of an existing Notion page by page_id. Set replace_content to true when replacing page content.",
825
- "parameters": {
826
- "type": "object",
827
- "properties": {
828
- "page_id": {"type": "string", "description": "The ID of the existing Notion page"},
829
- "title": {"type": "string", "description": "Optional new title for the page"},
830
- "content": {"type": "string", "description": "New content to insert or replace"},
831
- "replace_content": {"type": "boolean", "description": "Set true to delete old blocks and replace with new content"}
832
- },
833
- "required": ["page_id"]
834
- }
835
- }
836
- },
837
- {
838
- "type": "function",
839
- "function": {
840
- "name": "notion_delete_page",
841
- "description": "Delete or archive an existing Notion page by page_id",
842
- "parameters": {
843
- "type": "object",
844
- "properties": {
845
- "page_id": {"type": "string", "description": "The ID of the Notion page to delete or archive"}
846
- },
847
- "required": ["page_id"]
848
- }
849
- }
850
- },
851
- {
852
- "type": "function",
853
- "function": {
854
- "name": "notion_append_block_children",
855
- "description": "Append text or paragraph blocks to an existing Notion page by page_id",
856
- "parameters": {
857
- "type": "object",
858
- "properties": {
859
- "page_id": {"type": "string", "description": "The ID of the Notion page"},
860
- "content": {"type": "string", "description": "Text content to append to the page"}
861
- },
862
- "required": ["page_id", "content"]
863
- }
864
- }
865
- },
866
- {
867
- "type": "function",
868
- "function": {
869
- "name": "github_list_repos",
870
- "description": "List GitHub repositories for the authenticated user",
871
- "parameters": {
872
- "type": "object",
873
- "properties": {
874
- "sort": {"type": "string", "description": "Sort by: created, updated, pushed, full_name. Default: updated"},
875
- "per_page": {"type": "integer", "description": "Number of repositories to return, default 10"}
876
- }
877
- }
878
- }
879
- },
880
- {
881
- "type": "function",
882
- "function": {
883
- "name": "github_get_repo",
884
- "description": "Get detailed information about a GitHub repository",
885
- "parameters": {
886
- "type": "object",
887
- "properties": {
888
- "owner": {"type": "string", "description": "The account owner of the repository"},
889
- "repo": {"type": "string", "description": "The name of the repository"}
890
- },
891
- "required": ["owner", "repo"]
892
- }
893
- }
894
- },
895
- {
896
- "type": "function",
897
- "function": {
898
- "name": "github_create_repo",
899
- "description": "Create a new repository for the authenticated user",
900
- "parameters": {
901
- "type": "object",
902
- "properties": {
903
- "name": {"type": "string", "description": "The name of the new repository"},
904
- "description": {"type": "string", "description": "A short description of the repository"},
905
- "private": {"type": "boolean", "description": "Apakah repository ini privat. Default: false"},
906
- "auto_init": {"type": "boolean", "description": "Initialize repository with a README. Default: true"}
907
- },
908
- "required": ["name"]
909
- }
910
- }
911
- },
912
- {
913
- "type": "function",
914
- "function": {
915
- "name": "github_delete_repo",
916
- "description": "Delete a repository owned by the authenticated user",
917
- "parameters": {
918
- "type": "object",
919
- "properties": {
920
- "owner": {"type": "string", "description": "The account owner of the repository"},
921
- "repo": {"type": "string", "description": "The name of the repository to delete"}
922
- },
923
- "required": ["owner", "repo"]
924
- }
925
- }
926
- },
927
- {
928
- "type": "function",
929
- "function": {
930
- "name": "github_get_file_contents",
931
- "description": "Get contents or directory listing of a file or folder in a repository",
932
- "parameters": {
933
- "type": "object",
934
- "properties": {
935
- "owner": {"type": "string", "description": "The account owner of the repository"},
936
- "repo": {"type": "string", "description": "The name of the repository"},
937
- "path": {"type": "string", "description": "The content path (e.g., 'src/index.js' or '' for root)"},
938
- "ref": {"type": "string", "description": "The name of the commit/branch/tag"}
939
- },
940
- "required": ["owner", "repo", "path"]
941
- }
942
- }
943
- },
944
- {
945
- "type": "function",
946
- "function": {
947
- "name": "github_create_or_update_file",
948
- "description": "Create or update a file in a GitHub repository",
949
- "parameters": {
950
- "type": "object",
951
- "properties": {
952
- "owner": {"type": "string", "description": "The account owner of the repository"},
953
- "repo": {"type": "string", "description": "The name of the repository"},
954
- "path": {"type": "string", "description": "The path to the file e.g. 'README.md' or 'src/app.py'"},
955
- "message": {"type": "string", "description": "The commit message"},
956
- "content": {"type": "string", "description": "The text content of the file"},
957
- "branch": {"type": "string", "description": "The branch name to commit to (optional)"},
958
- "sha": {"type": "string", "description": "The blob SHA of the file being replaced (required when updating existing file)"}
959
- },
960
- "required": ["owner", "repo", "path", "message", "content"]
961
- }
962
- }
963
- },
964
- {
965
- "type": "function",
966
- "function": {
967
- "name": "github_delete_file",
968
- "description": "Delete a file in a GitHub repository",
969
- "parameters": {
970
- "type": "object",
971
- "properties": {
972
- "owner": {"type": "string", "description": "The account owner of the repository"},
973
- "repo": {"type": "string", "description": "The name of the repository"},
974
- "path": {"type": "string", "description": "The path to the file"},
975
- "message": {"type": "string", "description": "The commit message"},
976
- "sha": {"type": "string", "description": "The blob SHA of the file being deleted"},
977
- "branch": {"type": "string", "description": "The branch name"}
978
- },
979
- "required": ["owner", "repo", "path", "message", "sha"]
980
- }
981
- }
982
- },
983
- {
984
- "type": "function",
985
- "function": {
986
- "name": "github_list_branches",
987
- "description": "List branches in a GitHub repository",
988
- "parameters": {
989
- "type": "object",
990
- "properties": {
991
- "owner": {"type": "string", "description": "The account owner of the repository"},
992
- "repo": {"type": "string", "description": "The name of the repository"}
993
- },
994
- "required": ["owner", "repo"]
995
- }
996
- }
997
- },
998
- {
999
- "type": "function",
1000
- "function": {
1001
- "name": "github_create_branch",
1002
- "description": "Create a new branch from an existing branch or commit SHA",
1003
- "parameters": {
1004
- "type": "object",
1005
- "properties": {
1006
- "owner": {"type": "string", "description": "The account owner of the repository"},
1007
- "repo": {"type": "string", "description": "The name of the repository"},
1008
- "branch": {"type": "string", "description": "The name of the new branch"},
1009
- "from_branch": {"type": "string", "description": "The source branch name or commit SHA to branch from"}
1010
- },
1011
- "required": ["owner", "repo", "branch"]
1012
- }
1013
- }
1014
- },
1015
- {
1016
- "type": "function",
1017
- "function": {
1018
- "name": "github_list_commits",
1019
- "description": "List commits on a repository branch",
1020
- "parameters": {
1021
- "type": "object",
1022
- "properties": {
1023
- "owner": {"type": "string", "description": "The account owner of the repository"},
1024
- "repo": {"type": "string", "description": "The name of the repository"},
1025
- "branch": {"type": "string", "description": "Branch name or SHA"},
1026
- "per_page": {"type": "integer", "description": "Number of commits to return, default 5"}
1027
- },
1028
- "required": ["owner", "repo"]
1029
- }
1030
- }
1031
- },
1032
- {
1033
- "type": "function",
1034
- "function": {
1035
- "name": "github_list_pull_requests",
1036
- "description": "List pull requests in a repository",
1037
- "parameters": {
1038
- "type": "object",
1039
- "properties": {
1040
- "owner": {"type": "string", "description": "The account owner of the repository"},
1041
- "repo": {"type": "string", "description": "The name of the repository"},
1042
- "state": {"type": "string", "description": "State: open, closed, all. Default: open"}
1043
- },
1044
- "required": ["owner", "repo"]
1045
- }
1046
- }
1047
- },
1048
- {
1049
- "type": "function",
1050
- "function": {
1051
- "name": "github_create_pull_request",
1052
- "description": "Create a new pull request in a GitHub repository",
1053
- "parameters": {
1054
- "type": "object",
1055
- "properties": {
1056
- "owner": {"type": "string", "description": "The account owner of the repository"},
1057
- "repo": {"type": "string", "description": "The name of the repository"},
1058
- "title": {"type": "string", "description": "The title of the new pull request"},
1059
- "head": {"type": "string", "description": "The name of the branch where your changes are implemented"},
1060
- "base": {"type": "string", "description": "The name of the branch you want the changes pulled into (e.g. main)"},
1061
- "body": {"type": "string", "description": "The contents of the pull request"}
1062
- },
1063
- "required": ["owner", "repo", "title", "head", "base"]
1064
- }
1065
- }
1066
- },
1067
- {
1068
- "type": "function",
1069
- "function": {
1070
- "name": "github_merge_pull_request",
1071
- "description": "Merge a pull request in a GitHub repository",
1072
- "parameters": {
1073
- "type": "object",
1074
- "properties": {
1075
- "owner": {"type": "string", "description": "The account owner of the repository"},
1076
- "repo": {"type": "string", "description": "The name of the repository"},
1077
- "pull_number": {"type": "integer", "description": "The number of the pull request"},
1078
- "commit_title": {"type": "string", "description": "Title for the merge commit"},
1079
- "merge_method": {"type": "string", "description": "Merge method: merge, squash, rebase. Default: merge"}
1080
- },
1081
- "required": ["owner", "repo", "pull_number"]
1082
- }
1083
- }
1084
- },
1085
- {
1086
- "type": "function",
1087
- "function": {
1088
- "name": "github_list_issues",
1089
- "description": "List issues in a repository",
1090
- "parameters": {
1091
- "type": "object",
1092
- "properties": {
1093
- "owner": {"type": "string", "description": "The account owner of the repository"},
1094
- "repo": {"type": "string", "description": "The name of the repository"},
1095
- "state": {"type": "string", "description": "State: open, closed, all. Default: open"}
1096
- },
1097
- "required": ["owner", "repo"]
1098
- }
1099
- }
1100
- },
1101
- {
1102
- "type": "function",
1103
- "function": {
1104
- "name": "github_create_issue",
1105
- "description": "Create a new issue in a GitHub repository",
1106
- "parameters": {
1107
- "type": "object",
1108
- "properties": {
1109
- "owner": {"type": "string", "description": "The account owner of the repository"},
1110
- "repo": {"type": "string", "description": "The name of the repository"},
1111
- "title": {"type": "string", "description": "The title of the issue"},
1112
- "body": {"type": "string", "description": "The contents of the issue"}
1113
- },
1114
- "required": ["owner", "repo", "title"]
1115
- }
1116
- }
1117
- },
1118
- {
1119
- "type": "function",
1120
- "function": {
1121
- "name": "github_add_issue_comment",
1122
- "description": "Add a comment to an issue or pull request",
1123
- "parameters": {
1124
- "type": "object",
1125
- "properties": {
1126
- "owner": {"type": "string", "description": "The account owner of the repository"},
1127
- "repo": {"type": "string", "description": "The name of the repository"},
1128
- "issue_number": {"type": "integer", "description": "The number of the issue or PR"},
1129
- "body": {"type": "string", "description": "The comment text"}
1130
- },
1131
- "required": ["owner", "repo", "issue_number", "body"]
1132
- }
1133
- }
1134
- },
1135
- {
1136
- "type": "function",
1137
- "function": {
1138
- "name": "github_search",
1139
- "description": "Search GitHub repositories, code, issues, commits or users",
1140
- "parameters": {
1141
- "type": "object",
1142
- "properties": {
1143
- "type": {"type": "string", "description": "Search type: repositories, code, issues, commits, users"},
1144
- "query": {"type": "string", "description": "Search query keyword or qualifiers"}
1145
- },
1146
- "required": ["type", "query"]
1147
- }
1148
- }
1149
- },
1150
- {
1151
- "type": "function",
1152
- "function": {
1153
- "name": "github_api_request",
1154
- "description": "Execute any generic GitHub REST API endpoint",
1155
- "parameters": {
1156
- "type": "object",
1157
- "properties": {
1158
- "endpoint": {"type": "string", "description": "Relative endpoint path starting with / e.g. '/user'"},
1159
- "method": {"type": "string", "description": "HTTP method: GET, POST, PATCH, PUT, DELETE. Default: GET"},
1160
- "body_json": {"type": "string", "description": "JSON string body for POST/PATCH/PUT requests"}
1161
- },
1162
- "required": ["endpoint"]
1163
- }
1164
- }
1165
- },
1166
- {
1167
- "type": "function",
1168
- "function": {
1169
- "name": "figma_get_file",
1170
- "description": "Get full document JSON tree of a Figma file",
1171
- "parameters": {
1172
- "type": "object",
1173
- "properties": {
1174
- "file_key": {"type": "string", "description": "The key of the Figma file"},
1175
- "depth": {"type": "integer", "description": "Tree traversal depth, default: 2"}
1176
- },
1177
- "required": ["file_key"]
1178
- }
1179
- }
1180
- },
1181
- {
1182
- "type": "function",
1183
- "function": {
1184
- "name": "figma_get_file_nodes",
1185
- "description": "Get detailed node properties and layout information for specific node IDs in a Figma file",
1186
- "parameters": {
1187
- "type": "object",
1188
- "properties": {
1189
- "file_key": {"type": "string", "description": "The key of the Figma file"},
1190
- "node_ids": {"type": "string", "description": "Comma-separated list of node IDs"}
1191
- },
1192
- "required": ["file_key", "node_ids"]
1193
- }
1194
- }
1195
- },
1196
- {
1197
- "type": "function",
1198
- "function": {
1199
- "name": "figma_get_images",
1200
- "description": "Render and export nodes/frames from a Figma file as image URLs",
1201
- "parameters": {
1202
- "type": "object",
1203
- "properties": {
1204
- "file_key": {"type": "string", "description": "The key of the Figma file"},
1205
- "node_ids": {"type": "string", "description": "Comma-separated list of node IDs"},
1206
- "format": {"type": "string", "description": "Image format: png, jpg, svg, pdf. Default: png"},
1207
- "scale": {"type": "number", "description": "Export scale factor from 0.01 to 4. Default: 2"}
1208
- },
1209
- "required": ["file_key", "node_ids"]
1210
- }
1211
- }
1212
- },
1213
- {
1214
- "type": "function",
1215
- "function": {
1216
- "name": "figma_get_comments",
1217
- "description": "List all comments on a Figma file",
1218
- "parameters": {
1219
- "type": "object",
1220
- "properties": {
1221
- "file_key": {"type": "string", "description": "The key of the Figma file"}
1222
- },
1223
- "required": ["file_key"]
1224
- }
1225
- }
1226
- },
1227
- {
1228
- "type": "function",
1229
- "function": {
1230
- "name": "figma_post_comment",
1231
- "description": "Post a new comment on a Figma file or specific node location",
1232
- "parameters": {
1233
- "type": "object",
1234
- "properties": {
1235
- "file_key": {"type": "string", "description": "The key of the Figma file"},
1236
- "message": {"type": "string", "description": "The comment message text"},
1237
- "node_id": {"type": "string", "description": "Optional node ID"}
1238
- },
1239
- "required": ["file_key", "message"]
1240
- }
1241
- }
1242
- },
1243
- {
1244
- "type": "function",
1245
- "function": {
1246
- "name": "canva_search_designs",
1247
- "description": "Search docs, presentations, videos, whiteboards, and other designs in Canva",
1248
- "parameters": {
1249
- "type": "object",
1250
- "properties": {
1251
- "query": {"type": "string", "description": "Optional search term to filter designs by title or content"},
1252
- "limit": {"type": "integer", "description": "Maximum number of designs to return, default 10"},
1253
- "ownership": {"type": "string", "enum": ["any", "owned", "shared"], "description": "Filter by ownership"},
1254
- "sort_by": {"type": "string", "enum": ["relevance", "modified_descending", "modified_ascending", "title_descending", "title_ascending"], "description": "Sort order"}
1255
- }
1256
- }
1257
- }
1258
- },
1259
- {
1260
- "type": "function",
1261
- "function": {
1262
- "name": "canva_get_design",
1263
- "description": "Get detailed metadata, title, page count, and edit/view URLs of a Canva design by design_id",
1264
- "parameters": {
1265
- "type": "object",
1266
- "properties": {
1267
- "design_id": {"type": "string", "description": "The ID of the design starting with D"}
1268
- },
1269
- "required": ["design_id"]
1270
- }
1271
- }
1272
- },
1273
- {
1274
- "type": "function",
1275
- "function": {
1276
- "name": "canva_get_design_pages",
1277
- "description": "Get list of pages, slide indices, and thumbnails in a Canva design",
1278
- "parameters": {
1279
- "type": "object",
1280
- "properties": {
1281
- "design_id": {"type": "string", "description": "The ID of the design"},
1282
- "limit": {"type": "integer", "description": "Number of pages to return, default 50"},
1283
- "offset": {"type": "integer", "description": "Page index start (1-based), default 1"}
1284
- },
1285
- "required": ["design_id"]
1286
- }
1287
- }
1288
- },
1289
- {
1290
- "type": "function",
1291
- "function": {
1292
- "name": "canva_create_design",
1293
- "description": "Create a new Canva design with preset types (presentation, doc, whiteboard, poster, flyer, instagram_post, etc.) or custom dimensions",
1294
- "parameters": {
1295
- "type": "object",
1296
- "properties": {
1297
- "title": {"type": "string", "description": "Design title"},
1298
- "design_type": {"type": "string", "enum": ["presentation", "whiteboard", "doc", "poster", "flyer", "instagram_post", "facebook_post", "custom"], "description": "Preset design type. Default: presentation"},
1299
- "width": {"type": "integer", "description": "Width in pixels (required if design_type is custom)"},
1300
- "height": {"type": "integer", "description": "Height in pixels (required if design_type is custom)"},
1301
- "asset_id": {"type": "string", "description": "Optional asset ID to insert"}
1302
- }
1303
- }
1304
- }
1305
- },
1306
- {
1307
- "type": "function",
1308
- "function": {
1309
- "name": "canva_export_design",
1310
- "description": "Export a Canva design to PDF, PNG, JPG, PPTX, GIF, or MP4 and get download URL",
1311
- "parameters": {
1312
- "type": "object",
1313
- "properties": {
1314
- "design_id": {"type": "string", "description": "The ID of the design to export"},
1315
- "format_type": {"type": "string", "enum": ["pdf", "png", "jpg", "pptx", "gif", "mp4"], "description": "Target export format"},
1316
- "quality": {"type": "string", "enum": ["regular", "pro"], "description": "Export quality. Default: regular"}
1317
- },
1318
- "required": ["design_id", "format_type"]
1319
- }
1320
- }
1321
- },
1322
- {
1323
- "type": "function",
1324
- "function": {
1325
- "name": "canva_get_export_status",
1326
- "description": "Check the progress and download URLs of a Canva export job by export_id",
1327
- "parameters": {
1328
- "type": "object",
1329
- "properties": {
1330
- "export_id": {"type": "string", "description": "The ID of the export job"}
1331
- },
1332
- "required": ["export_id"]
1333
- }
1334
- }
1335
- },
1336
- {
1337
- "type": "function",
1338
- "function": {
1339
- "name": "canva_upload_asset_from_url",
1340
- "description": "Upload an external image or media asset from a URL directly into user's Canva account",
1341
- "parameters": {
1342
- "type": "object",
1343
- "properties": {
1344
- "name": {"type": "string", "description": "Name for the uploaded asset"},
1345
- "url": {"type": "string", "description": "Public HTTPS link to the file"}
1346
- },
1347
- "required": ["name", "url"]
1348
- }
1349
- }
1350
- },
1351
- {
1352
- "type": "function",
1353
- "function": {
1354
- "name": "canva_search_brand_templates",
1355
- "description": "Search available brand templates in Canva",
1356
- "parameters": {
1357
- "type": "object",
1358
- "properties": {
1359
- "query": {"type": "string", "description": "Optional search term for templates"},
1360
- "dataset": {"type": "string", "enum": ["any", "non_empty"], "description": "Filter by fillable dataset"}
1361
- }
1362
- }
1363
- }
1364
- },
1365
- {
1366
- "type": "function",
1367
- "function": {
1368
- "name": "canva_get_brand_template_dataset",
1369
- "description": "Get dynamic autofill dataset schema of a Canva brand template by template_id",
1370
- "parameters": {
1371
- "type": "object",
1372
- "properties": {
1373
- "template_id": {"type": "string", "description": "The ID of the brand template"}
1374
- },
1375
- "required": ["template_id"]
1376
- }
1377
- }
1378
- },
1379
- {
1380
- "type": "function",
1381
- "function": {
1382
- "name": "canva_autofill_design",
1383
- "description": "Autofill dynamic text, images, and charts into a Canva brand template to generate a complete design",
1384
- "parameters": {
1385
- "type": "object",
1386
- "properties": {
1387
- "brand_template_id": {"type": "string", "description": "The ID of the brand template"},
1388
- "data_json": {"type": "string", "description": "JSON string mapping dataset field keys to data values"},
1389
- "title": {"type": "string", "description": "Optional title for the new design"}
1390
- },
1391
- "required": ["brand_template_id", "data_json"]
1392
- }
1393
- }
1394
- },
1395
- {
1396
- "type": "function",
1397
- "function": {
1398
- "name": "canva_search_folders",
1399
- "description": "Search folders in Canva by name or tags",
1400
- "parameters": {
1401
- "type": "object",
1402
- "properties": {
1403
- "query": {"type": "string", "description": "Folder search query"},
1404
- "limit": {"type": "integer", "description": "Max results, default 10"}
1405
- }
1406
- }
1407
- }
1408
- },
1409
- {
1410
- "type": "function",
1411
- "function": {
1412
- "name": "canva_list_folder_items",
1413
- "description": "List items (designs, folders, images) inside a Canva folder",
1414
- "parameters": {
1415
- "type": "object",
1416
- "properties": {
1417
- "folder_id": {"type": "string", "description": "The folder ID or 'root'"},
1418
- "item_types": {"type": "string", "description": "Comma-separated item types e.g. 'design,folder,image'"}
1419
- },
1420
- "required": ["folder_id"]
1421
- }
1422
- }
1423
- },
1424
- {
1425
- "type": "function",
1426
- "function": {
1427
- "name": "canva_create_folder",
1428
- "description": "Create a new folder in Canva at root level or inside a parent folder",
1429
- "parameters": {
1430
- "type": "object",
1431
- "properties": {
1432
- "name": {"type": "string", "description": "Folder name"},
1433
- "parent_folder_id": {"type": "string", "description": "Parent folder ID or 'root'"}
1434
- },
1435
- "required": ["name"]
1436
- }
1437
- }
1438
- },
1439
- {
1440
- "type": "function",
1441
- "function": {
1442
- "name": "canva_move_item_to_folder",
1443
- "description": "Move a design, image, or folder into a destination folder in Canva",
1444
- "parameters": {
1445
- "type": "object",
1446
- "properties": {
1447
- "item_id": {"type": "string", "description": "The ID of the item to move"},
1448
- "to_folder_id": {"type": "string", "description": "The destination folder ID or 'root'"}
1449
- },
1450
- "required": ["item_id", "to_folder_id"]
1451
- }
1452
- }
1453
- },
1454
- {
1455
- "type": "function",
1456
- "function": {
1457
- "name": "canva_list_comments",
1458
- "description": "List comments and threads on a Canva design",
1459
- "parameters": {
1460
- "type": "object",
1461
- "properties": {
1462
- "design_id": {"type": "string", "description": "The ID of the design"}
1463
- },
1464
- "required": ["design_id"]
1465
- }
1466
- }
1467
- },
1468
- {
1469
- "type": "function",
1470
- "function": {
1471
- "name": "canva_comment_on_design",
1472
- "description": "Add a comment on a Canva design",
1473
- "parameters": {
1474
- "type": "object",
1475
- "properties": {
1476
- "design_id": {"type": "string", "description": "The ID of the design"},
1477
- "message_plaintext": {"type": "string", "description": "Comment text"}
1478
- },
1479
- "required": ["design_id", "message_plaintext"]
1480
- }
1481
- }
1482
- },
1483
- {
1484
- "type": "function",
1485
- "function": {
1486
- "name": "canva_list_replies",
1487
- "description": "List replies to a specific comment on a Canva design",
1488
- "parameters": {
1489
- "type": "object",
1490
- "properties": {
1491
- "design_id": {"type": "string", "description": "The ID of the design"},
1492
- "comment_id": {"type": "string", "description": "The ID of the comment"}
1493
- },
1494
- "required": ["design_id", "comment_id"]
1495
- }
1496
- }
1497
- },
1498
- {
1499
- "type": "function",
1500
- "function": {
1501
- "name": "canva_reply_to_comment",
1502
- "description": "Reply to an existing comment on a Canva design",
1503
- "parameters": {
1504
- "type": "object",
1505
- "properties": {
1506
- "design_id": {"type": "string", "description": "The ID of the design"},
1507
- "comment_id": {"type": "string", "description": "The ID of the comment"},
1508
- "message_plaintext": {"type": "string", "description": "Reply message text"}
1509
- },
1510
- "required": ["design_id", "comment_id", "message_plaintext"]
1511
- }
1512
- }
1513
- },
1514
- {
1515
- "type": "function",
1516
- "function": {
1517
- "name": "canva_get_user_profile",
1518
- "description": "Get current user profile and account details from Canva",
1519
- "parameters": {
1520
- "type": "object",
1521
- "properties": {}
1522
- }
1523
- }
1524
- },
1525
- {
1526
- "type": "function",
1527
- "function": {
1528
- "name": "canva_api_request",
1529
- "description": "Execute any generic Canva Connect REST API endpoint",
1530
- "parameters": {
1531
- "type": "object",
1532
- "properties": {
1533
- "endpoint": {"type": "string", "description": "Relative endpoint path starting with /v1/ e.g. '/v1/designs'"},
1534
- "method": {"type": "string", "description": "HTTP method: GET, POST, DELETE, PATCH, PUT. Default: GET"},
1535
- "body_json": {"type": "string", "description": "JSON string body for POST/PATCH/PUT requests"}
1536
- },
1537
- "required": ["endpoint"]
1538
- }
1539
- }
1540
- },
1541
- {
1542
- "type": "function",
1543
- "function": {
1544
- "name": "vercel_search_documentation",
1545
- "description": "Search official Vercel documentation, deployment guides, SDKs, and framework integration best practices",
1546
- "parameters": {
1547
- "type": "object",
1548
- "properties": {
1549
- "query": {"type": "string", "description": "Technical search query or topic related to Vercel"}
1550
- },
1551
- "required": ["query"]
1552
- }
1553
- }
1554
- },
1555
- {
1556
- "type": "function",
1557
- "function": {
1558
- "name": "vercel_list_projects",
1559
- "description": "List all Vercel projects belonging to the user or team",
1560
- "parameters": {
1561
- "type": "object",
1562
- "properties": {
1563
- "limit": {"type": "integer", "description": "Maximum number of projects to return, default 20"},
1564
- "search": {"type": "string", "description": "Search query to filter projects by name"},
1565
- "team_id": {"type": "string", "description": "Optional team ID"}
1566
- }
1567
- }
1568
- }
1569
- },
1570
- {
1571
- "type": "function",
1572
- "function": {
1573
- "name": "vercel_get_project",
1574
- "description": "Get detailed metadata, framework settings, and build configuration of a Vercel project by name or ID",
1575
- "parameters": {
1576
- "type": "object",
1577
- "properties": {
1578
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1579
- "team_id": {"type": "string", "description": "Optional team ID"}
1580
- },
1581
- "required": ["project_id_or_name"]
1582
- }
1583
- }
1584
- },
1585
- {
1586
- "type": "function",
1587
- "function": {
1588
- "name": "vercel_create_project",
1589
- "description": "Create a new project in Vercel",
1590
- "parameters": {
1591
- "type": "object",
1592
- "properties": {
1593
- "name": {"type": "string", "description": "The name of the project"},
1594
- "framework": {"type": "string", "description": "Framework preset e.g. 'nextjs', 'vite', 'remix', 'nuxtjs', 'sveltekit', 'astro'"},
1595
- "build_command": {"type": "string", "description": "Custom build command"},
1596
- "output_directory": {"type": "string", "description": "Output directory for build artifacts"},
1597
- "root_directory": {"type": "string", "description": "Root directory path"},
1598
- "team_id": {"type": "string", "description": "Optional team ID"}
1599
- },
1600
- "required": ["name"]
1601
- }
1602
- }
1603
- },
1604
- {
1605
- "type": "function",
1606
- "function": {
1607
- "name": "vercel_update_project",
1608
- "description": "Update settings, framework, or build commands of an existing Vercel project",
1609
- "parameters": {
1610
- "type": "object",
1611
- "properties": {
1612
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1613
- "framework": {"type": "string", "description": "Framework preset"},
1614
- "node_version": {"type": "string", "description": "Node.js version e.g. '20.x'"},
1615
- "build_command": {"type": "string", "description": "Custom build command"},
1616
- "output_directory": {"type": "string", "description": "Output directory"},
1617
- "root_directory": {"type": "string", "description": "Root directory path"},
1618
- "team_id": {"type": "string", "description": "Optional team ID"}
1619
- },
1620
- "required": ["project_id_or_name"]
1621
- }
1622
- }
1623
- },
1624
- {
1625
- "type": "function",
1626
- "function": {
1627
- "name": "vercel_delete_project",
1628
- "description": "Delete a Vercel project by project_id_or_name",
1629
- "parameters": {
1630
- "type": "object",
1631
- "properties": {
1632
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project to delete"},
1633
- "team_id": {"type": "string", "description": "Optional team ID"}
1634
- },
1635
- "required": ["project_id_or_name"]
1636
- }
1637
- }
1638
- },
1639
- {
1640
- "type": "function",
1641
- "function": {
1642
- "name": "vercel_pause_project",
1643
- "description": "Pause a Vercel project to stop incoming traffic and serverless execution",
1644
- "parameters": {
1645
- "type": "object",
1646
- "properties": {
1647
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1648
- "team_id": {"type": "string", "description": "Optional team ID"}
1649
- },
1650
- "required": ["project_id_or_name"]
1651
- }
1652
- }
1653
- },
1654
- {
1655
- "type": "function",
1656
- "function": {
1657
- "name": "vercel_unpause_project",
1658
- "description": "Unpause a paused Vercel project to resume normal traffic",
1659
- "parameters": {
1660
- "type": "object",
1661
- "properties": {
1662
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1663
- "team_id": {"type": "string", "description": "Optional team ID"}
1664
- },
1665
- "required": ["project_id_or_name"]
1666
- }
1667
- }
1668
- },
1669
- {
1670
- "type": "function",
1671
- "function": {
1672
- "name": "vercel_list_deployments",
1673
- "description": "List recent deployments for an account or specific project with status",
1674
- "parameters": {
1675
- "type": "object",
1676
- "properties": {
1677
- "project_id_or_name": {"type": "string", "description": "Optional project name or ID to filter deployments"},
1678
- "limit": {"type": "integer", "description": "Number of deployments to return, default 10"},
1679
- "state": {"type": "string", "enum": ["BUILDING", "ERROR", "INITIALIZING", "QUEUED", "READY", "CANCELED"], "description": "Filter by deployment state"},
1680
- "target": {"type": "string", "enum": ["production", "staging"], "description": "Filter by environment target"},
1681
- "team_id": {"type": "string", "description": "Optional team ID"}
1682
- }
1683
- }
1684
- }
1685
- },
1686
- {
1687
- "type": "function",
1688
- "function": {
1689
- "name": "vercel_get_deployment",
1690
- "description": "Get detailed status, URLs, commit metadata, and execution details of a specific deployment",
1691
- "parameters": {
1692
- "type": "object",
1693
- "properties": {
1694
- "deployment_id_or_url": {"type": "string", "description": "The ID or URL host of the deployment"},
1695
- "team_id": {"type": "string", "description": "Optional team ID"}
1696
- },
1697
- "required": ["deployment_id_or_url"]
1698
- }
1699
- }
1700
- },
1701
- {
1702
- "type": "function",
1703
- "function": {
1704
- "name": "vercel_get_deployment_events",
1705
- "description": "Get build logs, runtime error logs, and execution lifecycle events of a deployment",
1706
- "parameters": {
1707
- "type": "object",
1708
- "properties": {
1709
- "deployment_id": {"type": "string", "description": "The ID of the deployment"},
1710
- "limit": {"type": "integer", "description": "Maximum number of events/logs, default 50"},
1711
- "team_id": {"type": "string", "description": "Optional team ID"}
1712
- },
1713
- "required": ["deployment_id"]
1714
- }
1715
- }
1716
- },
1717
- {
1718
- "type": "function",
1719
- "function": {
1720
- "name": "vercel_create_deployment",
1721
- "description": "Create a new deployment on Vercel for a project",
1722
- "parameters": {
1723
- "type": "object",
1724
- "properties": {
1725
- "name": {"type": "string", "description": "Project name for deployment"},
1726
- "git_source_json": {"type": "string", "description": "JSON string containing gitSource info e.g. '{\"type\":\"github\",\"ref\":\"main\",\"repoId\":\"123\"}'"},
1727
- "target": {"type": "string", "enum": ["production", "staging"], "description": "Deployment target. Default: production"},
1728
- "team_id": {"type": "string", "description": "Optional team ID"}
1729
- },
1730
- "required": ["name"]
1731
- }
1732
- }
1733
- },
1734
- {
1735
- "type": "function",
1736
- "function": {
1737
- "name": "vercel_cancel_deployment",
1738
- "description": "Cancel an in-progress or queued Vercel deployment",
1739
- "parameters": {
1740
- "type": "object",
1741
- "properties": {
1742
- "deployment_id": {"type": "string", "description": "The ID of the deployment to cancel"},
1743
- "team_id": {"type": "string", "description": "Optional team ID"}
1744
- },
1745
- "required": ["deployment_id"]
1746
- }
1747
- }
1748
- },
1749
- {
1750
- "type": "function",
1751
- "function": {
1752
- "name": "vercel_delete_deployment",
1753
- "description": "Delete a deployment from Vercel by deployment_id",
1754
- "parameters": {
1755
- "type": "object",
1756
- "properties": {
1757
- "deployment_id": {"type": "string", "description": "The ID of the deployment to delete"},
1758
- "team_id": {"type": "string", "description": "Optional team ID"}
1759
- },
1760
- "required": ["deployment_id"]
1761
- }
1762
- }
1763
- },
1764
- {
1765
- "type": "function",
1766
- "function": {
1767
- "name": "vercel_list_env_variables",
1768
- "description": "List all Environment Variables configured in a Vercel project",
1769
- "parameters": {
1770
- "type": "object",
1771
- "properties": {
1772
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1773
- "team_id": {"type": "string", "description": "Optional team ID"}
1774
- },
1775
- "required": ["project_id_or_name"]
1776
- }
1777
- }
1778
- },
1779
- {
1780
- "type": "function",
1781
- "function": {
1782
- "name": "vercel_create_env_variable",
1783
- "description": "Create a new Environment Variable in a Vercel project",
1784
- "parameters": {
1785
- "type": "object",
1786
- "properties": {
1787
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1788
- "key": {"type": "string", "description": "The variable name/key e.g. 'DATABASE_URL'"},
1789
- "value": {"type": "string", "description": "The variable value"},
1790
- "target": {"type": "string", "description": "Comma-separated target environments: 'production', 'preview', 'development'. Default: 'production,preview,development'"},
1791
- "type": {"type": "string", "enum": ["plain", "secret", "encrypted", "sensitive"], "description": "Variable type. Default: 'encrypted'"},
1792
- "team_id": {"type": "string", "description": "Optional team ID"}
1793
- },
1794
- "required": ["project_id_or_name", "key", "value"]
1795
- }
1796
- }
1797
- },
1798
- {
1799
- "type": "function",
1800
- "function": {
1801
- "name": "vercel_update_env_variable",
1802
- "description": "Update value or target environments of an existing Vercel Environment Variable",
1803
- "parameters": {
1804
- "type": "object",
1805
- "properties": {
1806
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1807
- "env_id": {"type": "string", "description": "The ID of the environment variable"},
1808
- "value": {"type": "string", "description": "The new variable value"},
1809
- "target": {"type": "string", "description": "Comma-separated environments: 'production', 'preview', 'development'"},
1810
- "team_id": {"type": "string", "description": "Optional team ID"}
1811
- },
1812
- "required": ["project_id_or_name", "env_id", "value"]
1813
- }
1814
- }
1815
- },
1816
- {
1817
- "type": "function",
1818
- "function": {
1819
- "name": "vercel_delete_env_variable",
1820
- "description": "Delete an Environment Variable from a Vercel project",
1821
- "parameters": {
1822
- "type": "object",
1823
- "properties": {
1824
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1825
- "env_id": {"type": "string", "description": "The ID of the environment variable to delete"},
1826
- "team_id": {"type": "string", "description": "Optional team ID"}
1827
- },
1828
- "required": ["project_id_or_name", "env_id"]
1829
- }
1830
- }
1831
- },
1832
- {
1833
- "type": "function",
1834
- "function": {
1835
- "name": "vercel_list_domains",
1836
- "description": "List custom domains associated with a Vercel project",
1837
- "parameters": {
1838
- "type": "object",
1839
- "properties": {
1840
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1841
- "team_id": {"type": "string", "description": "Optional team ID"}
1842
- },
1843
- "required": ["project_id_or_name"]
1844
- }
1845
- }
1846
- },
1847
- {
1848
- "type": "function",
1849
- "function": {
1850
- "name": "vercel_add_domain",
1851
- "description": "Add a new custom domain to a Vercel project",
1852
- "parameters": {
1853
- "type": "object",
1854
- "properties": {
1855
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1856
- "domain": {"type": "string", "description": "The domain name e.g. 'app.example.com'"},
1857
- "redirect": {"type": "string", "description": "Optional target domain to redirect to"},
1858
- "team_id": {"type": "string", "description": "Optional team ID"}
1859
- },
1860
- "required": ["project_id_or_name", "domain"]
1861
- }
1862
- }
1863
- },
1864
- {
1865
- "type": "function",
1866
- "function": {
1867
- "name": "vercel_verify_domain",
1868
- "description": "Trigger DNS verification for a domain configured on a project",
1869
- "parameters": {
1870
- "type": "object",
1871
- "properties": {
1872
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1873
- "domain": {"type": "string", "description": "The domain name to verify"},
1874
- "team_id": {"type": "string", "description": "Optional team ID"}
1875
- },
1876
- "required": ["project_id_or_name", "domain"]
1877
- }
1878
- }
1879
- },
1880
- {
1881
- "type": "function",
1882
- "function": {
1883
- "name": "vercel_remove_domain",
1884
- "description": "Remove a custom domain from a Vercel project",
1885
- "parameters": {
1886
- "type": "object",
1887
- "properties": {
1888
- "project_id_or_name": {"type": "string", "description": "The ID or name of the project"},
1889
- "domain": {"type": "string", "description": "The domain name to remove"},
1890
- "team_id": {"type": "string", "description": "Optional team ID"}
1891
- },
1892
- "required": ["project_id_or_name", "domain"]
1893
- }
1894
- }
1895
- },
1896
- {
1897
- "type": "function",
1898
- "function": {
1899
- "name": "vercel_list_aliases",
1900
- "description": "List all domain aliases in the user's Vercel account or project",
1901
- "parameters": {
1902
- "type": "object",
1903
- "properties": {
1904
- "project_id": {"type": "string", "description": "Optional project ID filter"},
1905
- "limit": {"type": "integer", "description": "Max aliases to return, default 20"},
1906
- "team_id": {"type": "string", "description": "Optional team ID"}
1907
- }
1908
- }
1909
- }
1910
- },
1911
- {
1912
- "type": "function",
1913
- "function": {
1914
- "name": "vercel_assign_alias",
1915
- "description": "Assign a custom alias domain to a specific deployment",
1916
- "parameters": {
1917
- "type": "object",
1918
- "properties": {
1919
- "deployment_id": {"type": "string", "description": "The ID of the deployment"},
1920
- "alias": {"type": "string", "description": "The alias domain name"},
1921
- "team_id": {"type": "string", "description": "Optional team ID"}
1922
- },
1923
- "required": ["deployment_id", "alias"]
1924
- }
1925
- }
1926
- },
1927
- {
1928
- "type": "function",
1929
- "function": {
1930
- "name": "vercel_list_teams",
1931
- "description": "List all Vercel teams the authenticated user belongs to",
1932
- "parameters": {
1933
- "type": "object",
1934
- "properties": {
1935
- "limit": {"type": "integer", "description": "Max teams to return, default 20"}
1936
- }
1937
- }
1938
- }
1939
- },
1940
- {
1941
- "type": "function",
1942
- "function": {
1943
- "name": "vercel_get_team",
1944
- "description": "Get details of a specific Vercel team by team_id",
1945
- "parameters": {
1946
- "type": "object",
1947
- "properties": {
1948
- "team_id": {"type": "string", "description": "The ID of the team"}
1949
- },
1950
- "required": ["team_id"]
1951
- }
1952
- }
1953
- },
1954
- {
1955
- "type": "function",
1956
- "function": {
1957
- "name": "vercel_get_user",
1958
- "description": "Get current Vercel authenticated user profile, username, email, and billing plan tier",
1959
- "parameters": {
1960
- "type": "object",
1961
- "properties": {}
1962
- }
1963
- }
1964
- },
1965
- {
1966
- "type": "function",
1967
- "function": {
1968
- "name": "vercel_api_request",
1969
- "description": "Execute any generic Vercel REST API endpoint",
1970
- "parameters": {
1971
- "type": "object",
1972
- "properties": {
1973
- "endpoint": {"type": "string", "description": "Relative API path e.g. '/v9/projects' or '/v6/deployments'"},
1974
- "method": {"type": "string", "description": "HTTP method: GET, POST, PATCH, PUT, DELETE. Default: GET"},
1975
- "body_json": {"type": "string", "description": "JSON string body for POST/PATCH/PUT requests"},
1976
- "team_id": {"type": "string", "description": "Optional team ID query param"}
1977
- },
1978
- "required": ["endpoint"]
1979
- }
1980
- }
1981
- }
1982
- ]