@mastra/mcp-docs-server 1.3.6-alpha.1 → 1.3.6-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/docs/agents/human-in-the-loop.md +5 -3
- package/.docs/docs/agents/processors.md +7 -3
- package/.docs/docs/agents/tools.md +24 -0
- package/.docs/docs/memory/memory-processors.md +2 -5
- package/.docs/docs/memory/semantic-recall.md +2 -2
- package/.docs/docs/memory/working-memory.md +16 -0
- package/.docs/docs/subagents.md +10 -8
- package/.docs/docs/workflows/control-flow.md +1 -1
- package/.docs/integrations/agentic-ui/ai-sdk-ui.md +60 -0
- package/.docs/models/gateways/merge-gateway.md +2 -1
- package/.docs/models/gateways/netlify.md +2 -1
- package/.docs/models/gateways/openrouter.md +2 -1
- package/.docs/models/gateways/vercel.md +3 -4
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/alibaba.md +1 -1
- package/.docs/models/providers/anthropic.md +4 -3
- package/.docs/models/providers/berget.md +1 -1
- package/.docs/models/providers/coralbricks.md +1 -2
- package/.docs/models/providers/cortecs.md +3 -1
- package/.docs/models/providers/edenai.md +5 -3
- package/.docs/models/providers/kilo.md +12 -11
- package/.docs/models/providers/llmgateway-providers.md +4 -1
- package/.docs/models/providers/llmgateway.md +2 -1
- package/.docs/models/providers/mistral.md +9 -16
- package/.docs/models/providers/nano-gpt.md +3 -3
- package/.docs/models/providers/ollama-cloud.md +2 -1
- package/.docs/models/providers/opencode-go.md +5 -4
- package/.docs/models/providers/opencode.md +2 -1
- package/.docs/models/providers/requesty.md +2 -2
- package/.docs/reference/agents/generate.md +1 -1
- package/.docs/reference/classifier/classifier.md +35 -35
- package/.docs/reference/client-js/memory.md +12 -0
- package/.docs/reference/configuration.md +2 -2
- package/.docs/reference/connect/providers.md +118 -112
- package/.docs/reference/core/getClassifier.md +1 -1
- package/.docs/reference/editor/processor-provider.md +2 -2
- package/.docs/reference/evals/create-classifier-scorer.md +5 -5
- package/.docs/reference/logging/pino-logger.md +1 -1
- package/.docs/reference/memory/deleteMessages.md +1 -1
- package/.docs/reference/memory/memory-class.md +2 -2
- package/.docs/reference/migrations/upgrade-to-v1/memory.md +1 -1
- package/.docs/reference/processors/classifier-processor.md +6 -6
- package/.docs/reference/processors/message-history-processor.md +3 -2
- package/.docs/reference/processors/model-selection-processor.md +11 -11
- package/.docs/reference/processors/response-cache.md +1 -1
- package/.docs/reference/processors/semantic-recall-processor.md +2 -3
- package/.docs/reference/processors/working-memory-processor.md +3 -2
- package/.docs/reference/pubsub/unix-socket-pubsub.md +6 -2
- package/.docs/reference/rag/metadata-filters.md +1 -1
- package/.docs/reference/rag/vector-databases.md +1 -1
- package/.docs/reference/streaming/agents/stream.md +1 -1
- package/.docs/reference/workflows/step.md +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Provider toolsets
|
|
6
6
|
|
|
7
|
-
This page documents generated toolsets for 21 providers (
|
|
7
|
+
This page documents generated toolsets for 21 providers (883 tools in this version of `@mastra/connect`). It isn't an exhaustive list of providers registered in the SDK or available in the platform catalog. [`tools()`](https://mastra.ai/reference/connect/tools) exposes a provider's toolset when the project has an active connection for its provider ID.
|
|
8
8
|
|
|
9
9
|
Tool keys are stable identifiers of the form `<provider>_<action>` and are the values accepted by `allowTools` and `disallowTools`. Toolsets are versioned with the package: the exact list depends on the installed `@mastra/connect` version, and this page reflects the version it was generated from.
|
|
10
10
|
|
|
@@ -13,15 +13,15 @@ MCP providers (Attio, Canva, Clay, Neon, Render, Robinhood, and Sanity) serve th
|
|
|
13
13
|
| Provider | Provider ID | Tools |
|
|
14
14
|
| --------------------------------------------------------------------------------------------------------- | ----------------- | ----- |
|
|
15
15
|
|  [Clerk](#clerk) | `clerk` | 42 |
|
|
16
|
-
|  [Discord](#discord) | `discord` |
|
|
16
|
+
|  [Discord](#discord) | `discord` | 34 |
|
|
17
17
|
|  [Fireflies.ai](#firefliesai) | `fireflies` | 27 |
|
|
18
|
-
|  [GitHub](#github) | `github` |
|
|
18
|
+
|  [GitHub](#github) | `github` | 49 |
|
|
19
19
|
|  [Google Calendar](#google-calendar) | `google-calendar` | 43 |
|
|
20
20
|
|  [Google Docs](#google-docs) | `google-docs` | 37 |
|
|
21
21
|
|  [Google Drive](#google-drive) | `google-drive` | 30 |
|
|
22
22
|
|  [Gmail](#gmail) | `google-mail` | 52 |
|
|
23
23
|
|  [Google Sheets](#google-sheets) | `google-sheet` | 18 |
|
|
24
|
-
|  [HubSpot](#hubspot) | `hubspot` |
|
|
24
|
+
|  [HubSpot](#hubspot) | `hubspot` | 50 |
|
|
25
25
|
|  [incident.io](#incidentio) | `incident-io` | 66 |
|
|
26
26
|
|  [Jira](#jira) | `jira` | 38 |
|
|
27
27
|
|  [Linear](#linear) | `linear` | 46 |
|
|
@@ -29,7 +29,7 @@ MCP providers (Attio, Canva, Clay, Neon, Render, Robinhood, and Sanity) serve th
|
|
|
29
29
|
|  [OpenAI](#openai) | `openai` | 26 |
|
|
30
30
|
|  [PostHog](#posthog) | `posthog` | 67 |
|
|
31
31
|
|  [Resend](#resend) | `resend` | 80 |
|
|
32
|
-
|  [Slack](#slack) | `slack` |
|
|
32
|
+
|  [Slack](#slack) | `slack` | 52 |
|
|
33
33
|
|  [Snowflake](#snowflake) | `snowflake` | 15 |
|
|
34
34
|
|  [Supabase](#supabase) | `supabase` | 27 |
|
|
35
35
|
|  [WorkOS](#workos) | `workos` | 40 |
|
|
@@ -85,7 +85,7 @@ Provider ID: `clerk` · 42 tools
|
|
|
85
85
|
|
|
86
86
|
## Discord
|
|
87
87
|
|
|
88
|
-
Provider ID: `discord` ·
|
|
88
|
+
Provider ID: `discord` · 34 tools
|
|
89
89
|
|
|
90
90
|
| Tool | Description |
|
|
91
91
|
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
@@ -116,6 +116,7 @@ Provider ID: `discord` · 33 tools
|
|
|
116
116
|
| `discord_list_roles` | List roles from Discord. |
|
|
117
117
|
| `discord_list_webhooks` | List webhooks from a Discord channel |
|
|
118
118
|
| `discord_remove_guild_member_role` | Remove a role from a guild member |
|
|
119
|
+
| `discord_search_members` | Search guild members whose username or nickname starts with the query, instead of paging the full member list. |
|
|
119
120
|
| `discord_update_channel` | Update a Discord channel. |
|
|
120
121
|
| `discord_update_guild` | Update a guild in Discord |
|
|
121
122
|
| `discord_update_guild_member` | Update a guild member in Discord |
|
|
@@ -159,56 +160,59 @@ Provider ID: `fireflies` · 27 tools
|
|
|
159
160
|
|
|
160
161
|
## GitHub
|
|
161
162
|
|
|
162
|
-
Provider ID: `github` ·
|
|
163
|
-
|
|
164
|
-
| Tool | Description
|
|
165
|
-
| ----------------------------------- |
|
|
166
|
-
| `github_add_issue_comment` | Create a new comment on an issue or pull request discussion thread
|
|
167
|
-
| `github_create_branch` | Create a branch ref from an existing commit SHA
|
|
168
|
-
| `github_create_issue` | Open a new GitHub issue in a repository.
|
|
169
|
-
| `github_create_label` | Create a repository label with name, color, and description
|
|
170
|
-
| `github_create_or_update_file` | Create a new file or update existing repository contents in a branch.
|
|
171
|
-
| `github_create_pull_request` | Open a pull request from one branch into another.
|
|
172
|
-
| `github_create_release` | Publish a Git tag release for a repository.
|
|
173
|
-
| `github_create_review_request` | Request reviewers or teams on an open pull request
|
|
174
|
-
| `github_create_tag_object` | Create an annotated Git tag object for a commit or object SHA.
|
|
175
|
-
| `github_delete_file` | Delete a file from a repository branch.
|
|
176
|
-
| `github_delete_label` | Delete a repository label by name
|
|
177
|
-
| `github_delete_release` | Delete a release by release ID.
|
|
178
|
-
| `github_get_branch` | Retrieve branch metadata and protection status.
|
|
179
|
-
| `github_get_commit` | Retrieve a commit with changed files and stats
|
|
180
|
-
| `github_get_file_contents` | Retrieve a file or directory entry from repository contents.
|
|
181
|
-
| `github_get_issue` | Fetch a single issue or pull request issue record by number.
|
|
182
|
-
| `github_get_label` | Retrieve a single repository label by name.
|
|
183
|
-
| `github_get_pull_request` | Fetch a single pull request by number.
|
|
184
|
-
| `github_get_release` | Retrieve a single release by release ID.
|
|
185
|
-
| `github_get_repository` | Retrieve repository metadata, visibility, default branch, and owner info.
|
|
186
|
-
| `github_get_review` | Retrieve a pull request review by review ID.
|
|
187
|
-
| `github_get_tag_ref` | Retrieve a tag ref or branch-style Git reference
|
|
188
|
-
| `github_get_tree` | Get a git tree for a repository, optionally recursively, listing the files and directories it contains.
|
|
189
|
-
| `github_get_workflow` | Retrieve metadata for a GitHub Actions workflow.
|
|
190
|
-
| `github_get_workflow_run` | Retrieve a workflow run with status and conclusion details.
|
|
191
|
-
| `github_list_branches` | List branches for a repository with optional pagination and protected filtering.
|
|
192
|
-
| `github_list_commits` | List commits for a repository or branch with common filters
|
|
193
|
-
| `github_list_issue_comments` | List comments attached to an issue or pull request thread
|
|
194
|
-
| `github_list_issues` | List repository issues with state, assignee, label, and pagination filters.
|
|
195
|
-
| `github_list_labels` | List repository labels with pagination
|
|
196
|
-
| `github_list_pull_request_files` | List files changed by a pull request
|
|
197
|
-
| `github_list_pull_request_reviews` | List reviews submitted on a pull request
|
|
198
|
-
| `github_list_pull_requests` | List pull requests for a repository with state and branch filters
|
|
199
|
-
| `github_list_release_assets` | List assets uploaded to a repository release.
|
|
200
|
-
| `github_list_releases` | List published and draft releases for a repository.
|
|
201
|
-
| `github_list_tags` | List tags for a repository with optional pagination.
|
|
202
|
-
| `github_list_workflow_jobs` | List jobs in a workflow run attempt
|
|
203
|
-
| `github_list_workflow_runs` | List workflow runs for a repository or a specific workflow
|
|
204
|
-
| `github_list_workflows` | List GitHub Actions workflows configured in a repository.
|
|
205
|
-
| `github_merge_pull_request` | Merge an open pull request using the selected merge method.
|
|
206
|
-
| `github_rerun_workflow_run` | Rerun a completed or failed workflow run.
|
|
207
|
-
| `
|
|
208
|
-
| `
|
|
209
|
-
| `
|
|
210
|
-
| `
|
|
211
|
-
| `
|
|
163
|
+
Provider ID: `github` · 49 tools
|
|
164
|
+
|
|
165
|
+
| Tool | Description |
|
|
166
|
+
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
167
|
+
| `github_add_issue_comment` | Create a new comment on an issue or pull request discussion thread |
|
|
168
|
+
| `github_create_branch` | Create a branch ref from an existing commit SHA |
|
|
169
|
+
| `github_create_issue` | Open a new GitHub issue in a repository. |
|
|
170
|
+
| `github_create_label` | Create a repository label with name, color, and description |
|
|
171
|
+
| `github_create_or_update_file` | Create a new file or update existing repository contents in a branch. |
|
|
172
|
+
| `github_create_pull_request` | Open a pull request from one branch into another. |
|
|
173
|
+
| `github_create_release` | Publish a Git tag release for a repository. |
|
|
174
|
+
| `github_create_review_request` | Request reviewers or teams on an open pull request |
|
|
175
|
+
| `github_create_tag_object` | Create an annotated Git tag object for a commit or object SHA. |
|
|
176
|
+
| `github_delete_file` | Delete a file from a repository branch. |
|
|
177
|
+
| `github_delete_label` | Delete a repository label by name |
|
|
178
|
+
| `github_delete_release` | Delete a release by release ID. |
|
|
179
|
+
| `github_get_branch` | Retrieve branch metadata and protection status. |
|
|
180
|
+
| `github_get_commit` | Retrieve a commit with changed files and stats |
|
|
181
|
+
| `github_get_file_contents` | Retrieve a file or directory entry from repository contents. |
|
|
182
|
+
| `github_get_issue` | Fetch a single issue or pull request issue record by number. |
|
|
183
|
+
| `github_get_label` | Retrieve a single repository label by name. |
|
|
184
|
+
| `github_get_pull_request` | Fetch a single pull request by number. |
|
|
185
|
+
| `github_get_release` | Retrieve a single release by release ID. |
|
|
186
|
+
| `github_get_repository` | Retrieve repository metadata, visibility, default branch, and owner info. |
|
|
187
|
+
| `github_get_review` | Retrieve a pull request review by review ID. |
|
|
188
|
+
| `github_get_tag_ref` | Retrieve a tag ref or branch-style Git reference |
|
|
189
|
+
| `github_get_tree` | Get a git tree for a repository, optionally recursively, listing the files and directories it contains. |
|
|
190
|
+
| `github_get_workflow` | Retrieve metadata for a GitHub Actions workflow. |
|
|
191
|
+
| `github_get_workflow_run` | Retrieve a workflow run with status and conclusion details. |
|
|
192
|
+
| `github_list_branches` | List branches for a repository with optional pagination and protected filtering. |
|
|
193
|
+
| `github_list_commits` | List commits for a repository or branch with common filters |
|
|
194
|
+
| `github_list_issue_comments` | List comments attached to an issue or pull request thread |
|
|
195
|
+
| `github_list_issues` | List repository issues with state, assignee, label, and pagination filters. |
|
|
196
|
+
| `github_list_labels` | List repository labels with pagination |
|
|
197
|
+
| `github_list_pull_request_files` | List files changed by a pull request |
|
|
198
|
+
| `github_list_pull_request_reviews` | List reviews submitted on a pull request |
|
|
199
|
+
| `github_list_pull_requests` | List pull requests for a repository with state and branch filters |
|
|
200
|
+
| `github_list_release_assets` | List assets uploaded to a repository release. |
|
|
201
|
+
| `github_list_releases` | List published and draft releases for a repository. |
|
|
202
|
+
| `github_list_tags` | List tags for a repository with optional pagination. |
|
|
203
|
+
| `github_list_workflow_jobs` | List jobs in a workflow run attempt |
|
|
204
|
+
| `github_list_workflow_runs` | List workflow runs for a repository or a specific workflow |
|
|
205
|
+
| `github_list_workflows` | List GitHub Actions workflows configured in a repository. |
|
|
206
|
+
| `github_merge_pull_request` | Merge an open pull request using the selected merge method. |
|
|
207
|
+
| `github_rerun_workflow_run` | Rerun a completed or failed workflow run. |
|
|
208
|
+
| `github_search_code` | Search file contents across GitHub repositories. The query must be scoped with a repo:, org:, or user: qualifier. |
|
|
209
|
+
| `github_search_issues` | Search issues and pull requests across GitHub with the search API instead of paging repository listings. Supports the full GitHub search query syntax. |
|
|
210
|
+
| `github_search_repositories` | Search repositories across GitHub by name, organization, language, or topic instead of needing to know the exact owner/repo up front. |
|
|
211
|
+
| `github_submit_pull_request_review` | Create a pull request review with approval, comment, or change request. |
|
|
212
|
+
| `github_update_issue` | Edit an issue's title, body, state, assignees, labels, or milestone. |
|
|
213
|
+
| `github_update_label` | Update a repository label's name, color, or description. |
|
|
214
|
+
| `github_update_pull_request` | Edit a pull request's title, body, base branch, or state. |
|
|
215
|
+
| `github_update_release` | Edit release metadata such as name, notes, or draft state. |
|
|
212
216
|
|
|
213
217
|
## Google Calendar
|
|
214
218
|
|
|
@@ -427,7 +431,7 @@ Provider ID: `google-sheet` · 18 tools
|
|
|
427
431
|
|
|
428
432
|
## HubSpot
|
|
429
433
|
|
|
430
|
-
Provider ID: `hubspot` ·
|
|
434
|
+
Provider ID: `hubspot` · 50 tools
|
|
431
435
|
|
|
432
436
|
| Tool | Description |
|
|
433
437
|
| ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -470,6 +474,7 @@ Provider ID: `hubspot` · 49 tools
|
|
|
470
474
|
| `hubspot_list_marketing_emails` | List marketing emails |
|
|
471
475
|
| `hubspot_list_tickets` | List support tickets |
|
|
472
476
|
| `hubspot_search_companies` | Search companies by criteria |
|
|
477
|
+
| `hubspot_search_contacts` | Search contacts by free-text query or property filters instead of paging the full contact list. |
|
|
473
478
|
| `hubspot_search_deals` | Search deals by criteria |
|
|
474
479
|
| `hubspot_search_tickets` | Search tickets by criteria |
|
|
475
480
|
| `hubspot_submit_form` | Submit a HubSpot form on behalf of a visitor, using the authenticated form submission endpoint. |
|
|
@@ -899,61 +904,62 @@ Provider ID: `resend` · 80 tools
|
|
|
899
904
|
|
|
900
905
|
## Slack
|
|
901
906
|
|
|
902
|
-
Provider ID: `slack` ·
|
|
903
|
-
|
|
904
|
-
| Tool | Description
|
|
905
|
-
| -------------------------------- |
|
|
906
|
-
| `slack_add_reaction` | Add an emoji reaction to a specific Slack message
|
|
907
|
-
| `slack_archive_channel` | Archive a Slack channel
|
|
908
|
-
| `slack_create_channel` | Create a new public or private Slack channel by name; does not create DMs or other conversation types.
|
|
909
|
-
| `slack_create_reminder` | Create a reminder for a user
|
|
910
|
-
| `slack_delete_message` | Delete a message from a channel
|
|
911
|
-
| `slack_delete_scheduled_message` | Cancel a scheduled message
|
|
912
|
-
| `slack_get_channel_info` | Retrieve conversation details including topic, purpose, and membership state
|
|
913
|
-
| `slack_get_channel_members` | List members in a Slack channel
|
|
914
|
-
| `slack_get_conversation_history` | Fetch paginated message history for a conversation within optional time bounds
|
|
915
|
-
| `slack_get_dnd_info` | Get a user's Do Not Disturb status and next scheduled DND window
|
|
916
|
-
| `slack_get_message_permalink` | Get a permanent URL for a message
|
|
917
|
-
| `slack_get_reactions` | Retrieve all reactions attached to a specific message
|
|
918
|
-
| `slack_get_team_info` | Retrieve workspace details such as name, domain, and icon
|
|
919
|
-
| `slack_get_thread_replies` | Fetch paginated thread replies and parent message for a conversation thread
|
|
920
|
-
| `slack_get_upload_url` | Generate an external upload URL and file ID for Slack uploads
|
|
921
|
-
| `slack_get_user_info` | Retrieve a user's account details, including profile and avatar fields
|
|
922
|
-
| `slack_get_user_presence` | Check if a user is online or away
|
|
923
|
-
| `slack_get_user_profile` | Retrieve a user's detailed profile, status, and custom fields
|
|
924
|
-
| `slack_invite_shared` | Invite external people to a channel via Slack Connect (shared channels), by email or Slack user ID.
|
|
925
|
-
| `slack_invite_to_channel` | Invite users to a Slack channel
|
|
926
|
-
| `slack_join_channel` | Join a public or private channel and return its conversation details
|
|
927
|
-
| `slack_leave_channel` | Leave a channel
|
|
928
|
-
| `slack_list_channels` | List Slack conversations with optional type filters and cursor pagination.
|
|
929
|
-
| `slack_list_custom_emoji` | List workspace custom emoji mappings, including alias-based emoji entries
|
|
930
|
-
| `slack_list_files` | List files shared in the workspace
|
|
931
|
-
| `slack_list_pins` | List all items pinned in a specific channel
|
|
932
|
-
| `slack_list_scheduled_messages` | List pending scheduled messages
|
|
933
|
-
| `slack_list_user_group_members` | List member user IDs for a specific Slack user group
|
|
934
|
-
| `slack_list_user_groups` | List workspace user groups with optional disabled and membership counts
|
|
935
|
-
| `slack_list_user_reactions` | List items the user reacted to with cursor-based pagination
|
|
936
|
-
| `slack_list_users` | List all users in the workspace
|
|
937
|
-
| `slack_lookup_user_by_email` | Look up a user by email address
|
|
938
|
-
| `slack_mark_as_read` | Move a conversation's read cursor to a specific message timestamp
|
|
939
|
-
| `slack_open_dm` | Open a direct or multi-person DM for specified users
|
|
940
|
-
| `slack_pin_message` | Pin a specific message in a channel
|
|
941
|
-
| `slack_post_message` | Post a message to a channel, DM, or thread
|
|
942
|
-
| `slack_remove_from_channel` | Remove a user from a channel
|
|
943
|
-
| `slack_remove_reaction` | Remove an emoji reaction from a specific message
|
|
944
|
-
| `slack_rename_channel` | Rename a Slack channel
|
|
945
|
-
| `slack_schedule_message` | Schedule a Slack message to a channel or thread, subject to Slack's 120-day scheduling limit.
|
|
946
|
-
| `
|
|
947
|
-
| `
|
|
948
|
-
| `
|
|
949
|
-
| `
|
|
950
|
-
| `
|
|
951
|
-
| `
|
|
952
|
-
| `
|
|
953
|
-
| `
|
|
954
|
-
| `
|
|
955
|
-
| `
|
|
956
|
-
| `
|
|
907
|
+
Provider ID: `slack` · 52 tools
|
|
908
|
+
|
|
909
|
+
| Tool | Description |
|
|
910
|
+
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
911
|
+
| `slack_add_reaction` | Add an emoji reaction to a specific Slack message |
|
|
912
|
+
| `slack_archive_channel` | Archive a Slack channel |
|
|
913
|
+
| `slack_create_channel` | Create a new public or private Slack channel by name; does not create DMs or other conversation types. |
|
|
914
|
+
| `slack_create_reminder` | Create a reminder for a user |
|
|
915
|
+
| `slack_delete_message` | Delete a message from a channel |
|
|
916
|
+
| `slack_delete_scheduled_message` | Cancel a scheduled message |
|
|
917
|
+
| `slack_get_channel_info` | Retrieve conversation details including topic, purpose, and membership state |
|
|
918
|
+
| `slack_get_channel_members` | List members in a Slack channel |
|
|
919
|
+
| `slack_get_conversation_history` | Fetch paginated message history for a conversation within optional time bounds |
|
|
920
|
+
| `slack_get_dnd_info` | Get a user's Do Not Disturb status and next scheduled DND window |
|
|
921
|
+
| `slack_get_message_permalink` | Get a permanent URL for a message |
|
|
922
|
+
| `slack_get_reactions` | Retrieve all reactions attached to a specific message |
|
|
923
|
+
| `slack_get_team_info` | Retrieve workspace details such as name, domain, and icon |
|
|
924
|
+
| `slack_get_thread_replies` | Fetch paginated thread replies and parent message for a conversation thread |
|
|
925
|
+
| `slack_get_upload_url` | Generate an external upload URL and file ID for Slack uploads |
|
|
926
|
+
| `slack_get_user_info` | Retrieve a user's account details, including profile and avatar fields |
|
|
927
|
+
| `slack_get_user_presence` | Check if a user is online or away |
|
|
928
|
+
| `slack_get_user_profile` | Retrieve a user's detailed profile, status, and custom fields |
|
|
929
|
+
| `slack_invite_shared` | Invite external people to a channel via Slack Connect (shared channels), by email or Slack user ID. |
|
|
930
|
+
| `slack_invite_to_channel` | Invite users to a Slack channel |
|
|
931
|
+
| `slack_join_channel` | Join a public or private channel and return its conversation details |
|
|
932
|
+
| `slack_leave_channel` | Leave a channel |
|
|
933
|
+
| `slack_list_channels` | List Slack conversations with optional type filters and cursor pagination. |
|
|
934
|
+
| `slack_list_custom_emoji` | List workspace custom emoji mappings, including alias-based emoji entries |
|
|
935
|
+
| `slack_list_files` | List files shared in the workspace |
|
|
936
|
+
| `slack_list_pins` | List all items pinned in a specific channel |
|
|
937
|
+
| `slack_list_scheduled_messages` | List pending scheduled messages |
|
|
938
|
+
| `slack_list_user_group_members` | List member user IDs for a specific Slack user group |
|
|
939
|
+
| `slack_list_user_groups` | List workspace user groups with optional disabled and membership counts |
|
|
940
|
+
| `slack_list_user_reactions` | List items the user reacted to with cursor-based pagination |
|
|
941
|
+
| `slack_list_users` | List all users in the workspace |
|
|
942
|
+
| `slack_lookup_user_by_email` | Look up a user by email address |
|
|
943
|
+
| `slack_mark_as_read` | Move a conversation's read cursor to a specific message timestamp |
|
|
944
|
+
| `slack_open_dm` | Open a direct or multi-person DM for specified users |
|
|
945
|
+
| `slack_pin_message` | Pin a specific message in a channel |
|
|
946
|
+
| `slack_post_message` | Post a message to a channel, DM, or thread |
|
|
947
|
+
| `slack_remove_from_channel` | Remove a user from a channel |
|
|
948
|
+
| `slack_remove_reaction` | Remove an emoji reaction from a specific message |
|
|
949
|
+
| `slack_rename_channel` | Rename a Slack channel |
|
|
950
|
+
| `slack_schedule_message` | Schedule a Slack message to a channel or thread, subject to Slack's 120-day scheduling limit. |
|
|
951
|
+
| `slack_search_channels` | Find Slack channels by name without paging manually. Scans conversations.list and returns channels whose name contains the query (case-insensitive). |
|
|
952
|
+
| `slack_search_files` | Search workspace files with pagination |
|
|
953
|
+
| `slack_search_messages` | Search for messages matching a query |
|
|
954
|
+
| `slack_send_ephemeral_message` | Send a message visible only to one user in a channel |
|
|
955
|
+
| `slack_send_message` | Send a message to a channel |
|
|
956
|
+
| `slack_set_channel_purpose` | Update a channel's purpose text for a conversation |
|
|
957
|
+
| `slack_set_channel_topic` | Set the topic of a channel |
|
|
958
|
+
| `slack_set_status` | Set a user's status |
|
|
959
|
+
| `slack_set_user_presence` | Set a user's presence to online or away |
|
|
960
|
+
| `slack_unarchive_channel` | Restore an archived conversation so members can use it again |
|
|
961
|
+
| `slack_unpin_message` | Remove a pinned message from a channel |
|
|
962
|
+
| `slack_update_message` | Edit an existing message in a Slack channel |
|
|
957
963
|
|
|
958
964
|
## Snowflake
|
|
959
965
|
|
|
@@ -15,11 +15,11 @@ Providers are supplied via `MastraEditorConfig.processorProviders`.
|
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
17
|
import { MastraEditor } from '@mastra/editor'
|
|
18
|
-
import {
|
|
18
|
+
import { moderationProvider } from '@mastra/core/processor-provider'
|
|
19
19
|
|
|
20
20
|
new MastraEditor({
|
|
21
21
|
processorProviders: {
|
|
22
|
-
moderation:
|
|
22
|
+
moderation: moderationProvider,
|
|
23
23
|
},
|
|
24
24
|
})
|
|
25
25
|
```
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
The adapter evaluates exactly one question and always returns a score between 0 and 1. It doesn't aggregate questions, apply boolean thresholds, infer choice ordering, or call a second judge model.
|
|
10
10
|
|
|
11
|
-
Agent scorer runs contain message objects that `Classifier.
|
|
11
|
+
Agent scorer runs contain message objects that `Classifier.decide()` can't accept directly, so `state` is required. Use it to extract JSON-compatible text, for example with the helpers from `@mastra/evals/scorers/utils`.
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
|
|
24
24
|
const responseJudge = new Classifier({
|
|
25
25
|
id: 'response-judge',
|
|
26
|
-
model: typeSafeAi.
|
|
26
|
+
model: typeSafeAi.decisionModel('jev-latest'),
|
|
27
27
|
questions: {
|
|
28
28
|
quality: {
|
|
29
29
|
type: 'score',
|
|
@@ -165,7 +165,7 @@ Running an ID-backed scorer before registering it with Mastra rejects with an er
|
|
|
165
165
|
|
|
166
166
|
**maxRetries** (`number`): Classifier model retry count. This is separate from scorer or batch retry policy.
|
|
167
167
|
|
|
168
|
-
**providerOptions** (`SharedV4ProviderOptions`): Provider-specific options passed to Classifier.
|
|
168
|
+
**providerOptions** (`SharedV4ProviderOptions`): Provider-specific options passed to Classifier.decide().
|
|
169
169
|
|
|
170
170
|
**prepareRun** (`(run: ScorerRun) => ScorerRun | Promise<ScorerRun>`): Transforms scorer run data before the pipeline executes.
|
|
171
171
|
|
|
@@ -193,9 +193,9 @@ Failures while the scorer runs reject `scorer.run()` with a `ScorerRunError` who
|
|
|
193
193
|
- `question`: The selected question key.
|
|
194
194
|
- `answer`: The exact typed choice, score, or boolean answer, including optional probabilities.
|
|
195
195
|
- `usage`: Normalized classifier token usage.
|
|
196
|
-
- `warnings`, `rounding`, and `providerMetadata`: Evidence returned by the
|
|
196
|
+
- `warnings`, `rounding`, and `providerMetadata`: Evidence returned by the decision model.
|
|
197
197
|
- `response`: Safe response identity with `id`, `timestamp`, and `modelId`.
|
|
198
198
|
|
|
199
|
-
Raw provider response bodies and headers aren't copied into scorer results. Call `Classifier.
|
|
199
|
+
Raw provider response bodies and headers aren't copied into scorer results. Call `Classifier.decide()` directly when you need the full raw response.
|
|
200
200
|
|
|
201
201
|
Classifier evaluation runs inside the scorer's active trace context.
|
|
@@ -156,7 +156,7 @@ You can create custom transports using the `createCustomTransport` utility to in
|
|
|
156
156
|
Creates a custom transport using `createCustomTransport` and integrates it with a third-party logging stream such as `pino-sentry-transport`. The custom transport forwards logs to an external system such as Sentry for advanced monitoring and observability.
|
|
157
157
|
|
|
158
158
|
```typescript
|
|
159
|
-
import { createCustomTransport } from '@mastra/core/
|
|
159
|
+
import { createCustomTransport } from '@mastra/core/logger'
|
|
160
160
|
import { PinoLogger } from '@mastra/loggers/pino'
|
|
161
161
|
import pinoSentry from 'pino-sentry-transport'
|
|
162
162
|
|
|
@@ -24,7 +24,7 @@ await memory?.deleteMessages(['671ae63f-3a91-4082-a907-fe7de78e10ec'])
|
|
|
24
24
|
|
|
25
25
|
```typescript
|
|
26
26
|
import { mastra } from './mastra'
|
|
27
|
-
import { MastraDBMessage } from '@mastra/core'
|
|
27
|
+
import type { MastraDBMessage } from '@mastra/core/agent'
|
|
28
28
|
|
|
29
29
|
const agent = mastra.getAgent('agent')
|
|
30
30
|
const memory = await agent.getMemory()
|
|
@@ -101,14 +101,14 @@ export const agent = new Agent({
|
|
|
101
101
|
import { Memory } from '@mastra/memory'
|
|
102
102
|
import { Agent } from '@mastra/core/agent'
|
|
103
103
|
import { ModelRouterEmbeddingModel } from '@mastra/core/llm'
|
|
104
|
-
import {
|
|
104
|
+
import { PostgresStore, PgVector } from '@mastra/pg'
|
|
105
105
|
|
|
106
106
|
export const agent = new Agent({
|
|
107
107
|
name: 'pg-agent',
|
|
108
108
|
instructions: 'You are an agent with optimized PostgreSQL memory.',
|
|
109
109
|
model: 'openai/gpt-5.6-sol',
|
|
110
110
|
memory: new Memory({
|
|
111
|
-
storage: new
|
|
111
|
+
storage: new PostgresStore({
|
|
112
112
|
id: 'pg-agent-storage',
|
|
113
113
|
connectionString: process.env.DATABASE_URL,
|
|
114
114
|
}),
|
|
@@ -177,7 +177,7 @@ To migrate, replace all instances of `MastraMessageV2` with `MastraDBMessage`.
|
|
|
177
177
|
```diff
|
|
178
178
|
- import { MastraMessageV2 } from '@mastra/core';
|
|
179
179
|
- function yourCustomFunction(input: MastraMessageV2) {}
|
|
180
|
-
+ import { MastraDBMessage } from '@mastra/core';
|
|
180
|
+
+ import type { MastraDBMessage } from '@mastra/core/agent';
|
|
181
181
|
+ function yourCustomFunction(input: MastraDBMessage) {}
|
|
182
182
|
```
|
|
183
183
|
|
|
@@ -17,7 +17,7 @@ import { ClassifierProcessor } from '@mastra/core/processors'
|
|
|
17
17
|
|
|
18
18
|
const safety = new Classifier({
|
|
19
19
|
id: 'safety',
|
|
20
|
-
model: typeSafeAi.
|
|
20
|
+
model: typeSafeAi.decisionModel('jev-latest'),
|
|
21
21
|
questions: {
|
|
22
22
|
unsafe: {
|
|
23
23
|
type: 'boolean',
|
|
@@ -66,7 +66,7 @@ inputProcessors: [
|
|
|
66
66
|
|
|
67
67
|
**options.id** (`string`): Processor identifier. Use a unique ID for each ClassifierProcessor in the same phase because instances with the same ID share per-run processor state.
|
|
68
68
|
|
|
69
|
-
**options.errorStrategy** (`'warn' | 'strict'`): How to handle
|
|
69
|
+
**options.errorStrategy** (`'warn' | 'strict'`): How to handle decision model failures. 'strict' is fail-closed: it aborts the request, including during streaming. 'warn' is fail-open: it logs the failure and lets the content through. Classifier configuration errors always throw.
|
|
70
70
|
|
|
71
71
|
**options.lastMessageOnly** (`boolean`): When true, only the last message is classified in the input and output phases.
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ inputProcessors: [
|
|
|
74
74
|
|
|
75
75
|
**options.maxInputLength** (`number`): Non-negative integer maximum number of characters sent to the classifier. Longer text is truncated.
|
|
76
76
|
|
|
77
|
-
**options.providerOptions** (`SharedV4ProviderOptions`): Provider-specific options forwarded to the
|
|
77
|
+
**options.providerOptions** (`SharedV4ProviderOptions`): Provider-specific options forwarded to the decision model.
|
|
78
78
|
|
|
79
79
|
## Behavior by phase
|
|
80
80
|
|
|
@@ -98,7 +98,7 @@ import { ClassifierProcessor } from '@mastra/core/processors'
|
|
|
98
98
|
|
|
99
99
|
const topic = new Classifier({
|
|
100
100
|
id: 'topic',
|
|
101
|
-
model: typeSafeAi.
|
|
101
|
+
model: typeSafeAi.decisionModel('jev-latest'),
|
|
102
102
|
questions: {
|
|
103
103
|
topic: {
|
|
104
104
|
type: 'choice',
|
|
@@ -140,7 +140,7 @@ import { ClassifierProcessor } from '@mastra/core/processors'
|
|
|
140
140
|
|
|
141
141
|
const quality = new Classifier({
|
|
142
142
|
id: 'quality',
|
|
143
|
-
model: typeSafeAi.
|
|
143
|
+
model: typeSafeAi.decisionModel('jev-latest'),
|
|
144
144
|
questions: {
|
|
145
145
|
quality: {
|
|
146
146
|
type: 'score',
|
|
@@ -179,7 +179,7 @@ export const mastra = new Mastra({
|
|
|
179
179
|
classifiers: {
|
|
180
180
|
safety: new Classifier({
|
|
181
181
|
id: 'safety',
|
|
182
|
-
model: typeSafeAi.
|
|
182
|
+
model: typeSafeAi.decisionModel('jev-latest'),
|
|
183
183
|
questions: {/* ... */},
|
|
184
184
|
}),
|
|
185
185
|
},
|
|
@@ -40,9 +40,10 @@ const processor = new MessageHistory({
|
|
|
40
40
|
```typescript
|
|
41
41
|
import { Agent } from '@mastra/core/agent'
|
|
42
42
|
import { MessageHistory } from '@mastra/core/processors'
|
|
43
|
-
import {
|
|
43
|
+
import { PostgresStore } from '@mastra/pg'
|
|
44
44
|
|
|
45
|
-
const storage = new
|
|
45
|
+
const storage = new PostgresStore({
|
|
46
|
+
id: 'pg-storage',
|
|
46
47
|
connectionString: process.env.DATABASE_URL,
|
|
47
48
|
})
|
|
48
49
|
|