Skip to content

Commit d30fce1

Browse files
evantahlerbyrro
andauthored
Fix broken links (#399)
* add ms teams to the index of toolkits; add icon image * fix broken links to examples --------- Co-authored-by: Renato Byrro <[email protected]>
1 parent c3083e3 commit d30fce1

File tree

3 files changed

+61
-52
lines changed

3 files changed

+61
-52
lines changed

pages/toolkits/social-communication/microsoft_teams.mdx

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ This toolkit streamlines collaboration and communication within Microsoft Teams,
7474
{
7575
label: "Call the Tool Directly",
7676
content: {
77-
Python: ["/examples/integrations/toolkits/microsoftteams/get_signed_in_user_example_call_tool.py"],
78-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_signed_in_user_example_call_tool.js"],
77+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_signed_in_user_example_call_tool.py"],
78+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_signed_in_user_example_call_tool.js"],
7979
},
8080
},
8181
]}
@@ -95,8 +95,8 @@ This tool does not take any parameters.
9595
{
9696
label: "Call the Tool Directly",
9797
content: {
98-
Python: ["/examples/integrations/toolkits/microsoftteams/list_users_example_call_tool.py"],
99-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/list_users_example_call_tool.js"],
98+
Python: ["/examples/integrations/toolkits/microsoft_teams/list_users_example_call_tool.py"],
99+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/list_users_example_call_tool.js"],
100100
},
101101
},
102102
]}
@@ -118,8 +118,8 @@ Lists the users in the Microsoft Teams tenant.
118118
{
119119
label: "Call the Tool Directly",
120120
content: {
121-
Python: ["/examples/integrations/toolkits/microsoftteams/search_users_example_call_tool.py"],
122-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_users_example_call_tool.js"],
121+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_users_example_call_tool.py"],
122+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_users_example_call_tool.js"],
123123
},
124124
},
125125
]}
@@ -130,7 +130,7 @@ Searches for users in the Microsoft Teams tenant.
130130
**Parameters**
131131

132132
- **keywords** (`array[string]`, required) The keywords to match against users' names.
133-
- **match_type** (`Enum` [PartialMatchType](/toolkits/social-communication/microsoftteams/reference#PartialMatchType), optional) The type of match to use for the keywords. Defaults to match_any_of_the_keywords.
133+
- **match_type** (`Enum` [PartialMatchType](/toolkits/social-communication/microsoft_teams/reference#PartialMatchType), optional) The type of match to use for the keywords. Defaults to match_any_of_the_keywords.
134134
- **limit** (`integer`, optional) The maximum number of users to return. Defaults to 50, max is 999.
135135
- **offset** (`integer`, optional) The offset to start from.
136136

@@ -143,8 +143,8 @@ Searches for users in the Microsoft Teams tenant.
143143
{
144144
label: "Call the Tool Directly",
145145
content: {
146-
Python: ["/examples/integrations/toolkits/microsoftteams/get_channel_metadata_example_call_tool.py"],
147-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_channel_metadata_example_call_tool.js"],
146+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_channel_metadata_example_call_tool.py"],
147+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_channel_metadata_example_call_tool.js"],
148148
},
149149
},
150150
]}
@@ -167,8 +167,8 @@ Retrieves metadata about a Microsoft Teams channel and its members.
167167
{
168168
label: "Call the Tool Directly",
169169
content: {
170-
Python: ["/examples/integrations/toolkits/microsoftteams/list_channels_example_call_tool.py"],
171-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/list_channels_example_call_tool.js"],
170+
Python: ["/examples/integrations/toolkits/microsoft_teams/list_channels_example_call_tool.py"],
171+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/list_channels_example_call_tool.js"],
172172
},
173173
},
174174
]}
@@ -191,8 +191,8 @@ Lists channels in Microsoft Teams (including shared incoming channels).
191191
{
192192
label: "Call the Tool Directly",
193193
content: {
194-
Python: ["/examples/integrations/toolkits/microsoftteams/search_channels_example_call_tool.py"],
195-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_channels_example_call_tool.js"],
194+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_channels_example_call_tool.py"],
195+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_channels_example_call_tool.js"],
196196
},
197197
},
198198
]}
@@ -203,7 +203,7 @@ Searches for channels in a given Microsoft Teams team.
203203
**Parameters**
204204

205205
- **keywords** (`array[string]`, required) The keywords to search for in channel names.
206-
- **match_type** (`Enum` [MatchType](/toolkits/social-communication/microsoftteams/reference#MatchType), optional) The type of match to use for the search. Defaults to 'partial_match_all_keywords'.
206+
- **match_type** (`Enum` [MatchType](/toolkits/social-communication/microsoft_teams/reference#MatchType), optional) The type of match to use for the search. Defaults to 'partial_match_all_keywords'.
207207
- **limit** (`integer`, optional) The maximum number of channels to return. Defaults to 50. Max of 100.
208208
- **offset** (`integer`, optional) The offset to start from.
209209
- **team_id_or_name** (`string`, optional) The ID or name of the team to search the channels of (optional). If not provided: in case the user is a member of a single team, the tool will use it; otherwise an error will be returned with a list of all teams to pick from.
@@ -217,8 +217,8 @@ Searches for channels in a given Microsoft Teams team.
217217
{
218218
label: "Call the Tool Directly",
219219
content: {
220-
Python: ["/examples/integrations/toolkits/microsoftteams/get_channel_messages_example_call_tool.py"],
221-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_channel_messages_example_call_tool.js"],
220+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_channel_messages_example_call_tool.py"],
221+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_channel_messages_example_call_tool.js"],
222222
},
223223
},
224224
]}
@@ -242,8 +242,8 @@ Retrieves the messages in a Microsoft Teams channel.
242242
{
243243
label: "Call the Tool Directly",
244244
content: {
245-
Python: ["/examples/integrations/toolkits/microsoftteams/get_channel_message_replies_example_call_tool.py"],
246-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_channel_message_replies_example_call_tool.js"],
245+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_channel_message_replies_example_call_tool.py"],
246+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_channel_message_replies_example_call_tool.js"],
247247
},
248248
},
249249
]}
@@ -266,8 +266,8 @@ Retrieves the replies to a Microsoft Teams channel message.
266266
{
267267
label: "Call the Tool Directly",
268268
content: {
269-
Python: ["/examples/integrations/toolkits/microsoftteams/send_message_to_channel_example_call_tool.py"],
270-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/send_message_to_channel_example_call_tool.js"],
269+
Python: ["/examples/integrations/toolkits/microsoft_teams/send_message_to_channel_example_call_tool.py"],
270+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/send_message_to_channel_example_call_tool.js"],
271271
},
272272
},
273273
]}
@@ -290,8 +290,8 @@ Sends a message to a Microsoft Teams channel.
290290
{
291291
label: "Call the Tool Directly",
292292
content: {
293-
Python: ["/examples/integrations/toolkits/microsoftteams/reply_to_channel_message_example_call_tool.py"],
294-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/reply_to_channel_message_example_call_tool.js"],
293+
Python: ["/examples/integrations/toolkits/microsoft_teams/reply_to_channel_message_example_call_tool.py"],
294+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/reply_to_channel_message_example_call_tool.js"],
295295
},
296296
},
297297
]}
@@ -315,8 +315,8 @@ Sends a reply to a Microsoft Teams channel message.
315315
{
316316
label: "Call the Tool Directly",
317317
content: {
318-
Python: ["/examples/integrations/toolkits/microsoftteams/list_teams_example_call_tool.py"],
319-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/list_teams_example_call_tool.js"],
318+
Python: ["/examples/integrations/toolkits/microsoft_teams/list_teams_example_call_tool.py"],
319+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/list_teams_example_call_tool.js"],
320320
},
321321
},
322322
]}
@@ -326,7 +326,7 @@ Lists the teams the current user is associated with in Microsoft Teams.
326326

327327
**Parameters**
328328

329-
- **membership_type** (`Enum` [TeamMembershipType](/toolkits/social-communication/microsoftteams/reference#TeamMembershipType), optional) The type of membership to filter by. Defaults to 'direct_member_of_the_team'.
329+
- **membership_type** (`Enum` [TeamMembershipType](/toolkits/social-communication/microsoft_teams/reference#TeamMembershipType), optional) The type of membership to filter by. Defaults to 'direct_member_of_the_team'.
330330

331331

332332
## MicrosoftTeams.SearchTeams
@@ -337,8 +337,8 @@ Lists the teams the current user is associated with in Microsoft Teams.
337337
{
338338
label: "Call the Tool Directly",
339339
content: {
340-
Python: ["/examples/integrations/toolkits/microsoftteams/search_teams_example_call_tool.py"],
341-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_teams_example_call_tool.js"],
340+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_teams_example_call_tool.py"],
341+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_teams_example_call_tool.js"],
342342
},
343343
},
344344
]}
@@ -361,8 +361,8 @@ Searches for teams available to the current user in Microsoft Teams.
361361
{
362362
label: "Call the Tool Directly",
363363
content: {
364-
Python: ["/examples/integrations/toolkits/microsoftteams/get_team_example_call_tool.py"],
365-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_team_example_call_tool.js"],
364+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_team_example_call_tool.py"],
365+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_team_example_call_tool.js"],
366366
},
367367
},
368368
]}
@@ -384,8 +384,8 @@ Retrieves metadata about a team in Microsoft Teams.
384384
{
385385
label: "Call the Tool Directly",
386386
content: {
387-
Python: ["/examples/integrations/toolkits/microsoftteams/list_team_members_example_call_tool.py"],
388-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/list_team_members_example_call_tool.js"],
387+
Python: ["/examples/integrations/toolkits/microsoft_teams/list_team_members_example_call_tool.py"],
388+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/list_team_members_example_call_tool.js"],
389389
},
390390
},
391391
]}
@@ -409,8 +409,8 @@ Lists the members of a team in Microsoft Teams.
409409
{
410410
label: "Call the Tool Directly",
411411
content: {
412-
Python: ["/examples/integrations/toolkits/microsoftteams/search_team_members_example_call_tool.py"],
413-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_team_members_example_call_tool.js"],
412+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_team_members_example_call_tool.py"],
413+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_team_members_example_call_tool.js"],
414414
},
415415
},
416416
]}
@@ -435,8 +435,8 @@ Searches for members of a team in Microsoft Teams.
435435
{
436436
label: "Call the Tool Directly",
437437
content: {
438-
Python: ["/examples/integrations/toolkits/microsoftteams/get_chat_message_by_id_example_call_tool.py"],
439-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_chat_message_by_id_example_call_tool.js"],
438+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_chat_message_by_id_example_call_tool.py"],
439+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_chat_message_by_id_example_call_tool.js"],
440440
},
441441
},
442442
]}
@@ -460,8 +460,8 @@ Retrieves a Microsoft Teams chat message.
460460
{
461461
label: "Call the Tool Directly",
462462
content: {
463-
Python: ["/examples/integrations/toolkits/microsoftteams/get_chat_messages_example_call_tool.py"],
464-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_chat_messages_example_call_tool.js"],
463+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_chat_messages_example_call_tool.py"],
464+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_chat_messages_example_call_tool.js"],
465465
},
466466
},
467467
]}
@@ -487,8 +487,8 @@ Retrieves messages from a Microsoft Teams chat (individual or group).
487487
{
488488
label: "Call the Tool Directly",
489489
content: {
490-
Python: ["/examples/integrations/toolkits/microsoftteams/get_chat_metadata_example_call_tool.py"],
491-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/get_chat_metadata_example_call_tool.js"],
490+
Python: ["/examples/integrations/toolkits/microsoft_teams/get_chat_metadata_example_call_tool.py"],
491+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/get_chat_metadata_example_call_tool.js"],
492492
},
493493
},
494494
]}
@@ -511,8 +511,8 @@ Retrieves metadata about a Microsoft Teams chat.
511511
{
512512
label: "Call the Tool Directly",
513513
content: {
514-
Python: ["/examples/integrations/toolkits/microsoftteams/list_chats_example_call_tool.py"],
515-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/list_chats_example_call_tool.js"],
514+
Python: ["/examples/integrations/toolkits/microsoft_teams/list_chats_example_call_tool.py"],
515+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/list_chats_example_call_tool.js"],
516516
},
517517
},
518518
]}
@@ -534,8 +534,8 @@ List the Microsoft Teams chats to which the current user is a member of.
534534
{
535535
label: "Call the Tool Directly",
536536
content: {
537-
Python: ["/examples/integrations/toolkits/microsoftteams/send_message_to_chat_example_call_tool.py"],
538-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/send_message_to_chat_example_call_tool.js"],
537+
Python: ["/examples/integrations/toolkits/microsoft_teams/send_message_to_chat_example_call_tool.py"],
538+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/send_message_to_chat_example_call_tool.js"],
539539
},
540540
},
541541
]}
@@ -559,8 +559,8 @@ Sends a message to a Microsoft Teams chat.
559559
{
560560
label: "Call the Tool Directly",
561561
content: {
562-
Python: ["/examples/integrations/toolkits/microsoftteams/reply_to_chat_message_example_call_tool.py"],
563-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/reply_to_chat_message_example_call_tool.js"],
562+
Python: ["/examples/integrations/toolkits/microsoft_teams/reply_to_chat_message_example_call_tool.py"],
563+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/reply_to_chat_message_example_call_tool.js"],
564564
},
565565
},
566566
]}
@@ -585,8 +585,8 @@ Sends a reply to a Microsoft Teams chat message.
585585
{
586586
label: "Call the Tool Directly",
587587
content: {
588-
Python: ["/examples/integrations/toolkits/microsoftteams/create_chat_example_call_tool.py"],
589-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/create_chat_example_call_tool.js"],
588+
Python: ["/examples/integrations/toolkits/microsoft_teams/create_chat_example_call_tool.py"],
589+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/create_chat_example_call_tool.js"],
590590
},
591591
},
592592
]}
@@ -608,8 +608,8 @@ Creates a Microsoft Teams chat.
608608
{
609609
label: "Call the Tool Directly",
610610
content: {
611-
Python: ["/examples/integrations/toolkits/microsoftteams/search_people_example_call_tool.py"],
612-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_people_example_call_tool.js"],
611+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_people_example_call_tool.py"],
612+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_people_example_call_tool.js"],
613613
},
614614
},
615615
]}
@@ -620,7 +620,7 @@ Searches for people the user has interacted with in Microsoft Teams and other 36
620620
**Parameters**
621621

622622
- **keywords** (`array[string]`, required) The keywords to match against people's names. Provide one or more expressions.
623-
- **match_type** (`Enum` [PartialMatchType](/toolkits/social-communication/microsoftteams/reference#PartialMatchType), optional) The type of match to use for the keywords. Defaults to match_any_of_the_keywords.
623+
- **match_type** (`Enum` [PartialMatchType](/toolkits/social-communication/microsoft_teams/reference#PartialMatchType), optional) The type of match to use for the keywords. Defaults to match_any_of_the_keywords.
624624
- **limit** (`integer`, optional) The maximum number of people to return. Defaults to 50, max is 100.
625625
- **next_page_token** (`string`, optional) The next page token to use for pagination.
626626

@@ -633,8 +633,8 @@ Searches for people the user has interacted with in Microsoft Teams and other 36
633633
{
634634
label: "Call the Tool Directly",
635635
content: {
636-
Python: ["/examples/integrations/toolkits/microsoftteams/search_messages_example_call_tool.py"],
637-
JavaScript: ["/examples/integrations/toolkits/microsoftteams/search_messages_example_call_tool.js"],
636+
Python: ["/examples/integrations/toolkits/microsoft_teams/search_messages_example_call_tool.py"],
637+
JavaScript: ["/examples/integrations/toolkits/microsoft_teams/search_messages_example_call_tool.js"],
638638
},
639639
},
640640
]}

public/images/icons/ms_teams.png

4.04 KB
Loading

src/components/custom/Toolkits/toolkits-config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,15 @@ const availableTools: Tool[] = [
324324
category: "entertainment",
325325
type: "auth",
326326
},
327+
{
328+
name: "Microsoft Teams",
329+
image: "ms_teams.png",
330+
summary: "Manage teams, messages, chats, and channels with your agents.",
331+
link: "/toolkits/social-communication/microsoft_teams",
332+
category: "social",
333+
type: "arcade",
334+
isComingSoon: false,
335+
},
327336
];
328337

329338
// Coming soon tools

0 commit comments

Comments
 (0)