Available Tools
Documentation of all tools available through Sazabi's MCP server.
When you connect an MCP client to Sazabi, it can discover and use these tools. Each tool allows your AI assistant to interact with Sazabi in a specific way.
Tool reference
| Tool | Description |
|---|---|
list_projects | List all projects in your organization |
list_vercel_projects | List Vercel projects available for connection |
setup_vercel_data_source | Set up a Vercel project as a data source |
list_threads | List conversation threads in a project |
search_threads | Full-text search across thread content |
get_thread | Get a specific thread with its messages |
send_message | Send a message and get a response |
get_response | Poll for the response to an async message |
Project tools
list_projects
Returns all projects the authenticated user has access to. Use this to discover available projects before querying logs or starting conversations.
Parameters: None
Returns: Array of projects with:
id: Project identifiername: Project nameslug: URL-friendly identifier
Example prompt:
Use Sazabi to list my projectsVercel tools
list_vercel_projects
Lists Vercel projects that are available for connection as data sources. Use this to discover which Vercel projects can be set up to send logs to Sazabi.
Parameters: None
Returns: Array of Vercel projects with:
id: Vercel project identifiername: Project nameframework: The framework used (e.g., Next.js, Remix)
Example prompt:
List my Vercel projects that I can connect to Sazabisetup_vercel_data_source
Sets up a Vercel project as a data source for Sazabi. This configures the Vercel project to send logs and events to Sazabi for monitoring.
Parameters:
vercelProjectId(required): The Vercel project ID to set upprojectId(required): The Sazabi project to connect it to
Returns: Confirmation of the data source setup
Example prompt:
Connect my Vercel project to SazabiThread tools
list_threads
Lists recent conversation threads in a project. Useful for finding existing investigations or continuing previous conversations.
Parameters:
projectId(optional): The project to list threads from. If omitted, lists threads from the default project.limit(optional): Maximum number of threads to returncursor(optional): Pagination cursor
Returns: Array of threads with metadata
Example prompt:
Show me my recent Sazabi investigations in the backend projectsearch_threads
Performs full-text search across thread content. Find threads related to specific errors, services, or topics.
Parameters:
query(required): Search query string
Returns: Array of matching threads
Example prompt:
Search Sazabi for threads mentioning "payment timeout"get_thread
Retrieves a thread with all its messages. Use this to review the context of an investigation or understand what was discussed.
Parameters:
threadId(required): The thread identifier
Returns: Thread object with:
id: Thread identifiertitle: Thread titlemessages: Array of messages in the threadcreatedAt: When the thread was createdupdatedAt: When the thread was last updated
Example prompt:
Get the full conversation from my last Sazabi investigationMessage tools
send_message
Sends a message to Sazabi and receives a response. This is the primary way to ask questions about your systems through an external AI tool.
Parameters:
projectId(required): The project context for the messagethreadId(optional): Continue an existing thread, or omit to start a new onemessage(required): The message contentwait(optional): If false, return immediately and poll for response later. Defaults to true.timeoutSeconds(optional): Maximum time to wait for a response in sync mode. Defaults to 120.
Returns:
- In sync mode (wait: true): The response message
- In async mode (wait: false): A response ID to poll with
get_response
Example prompt:
Ask Sazabi what errors occurred in the checkout service in the last hourget_response
Polls for the response to a previously sent asynchronous message. Use this when
you sent a message with wait: false and need to retrieve the response.
Parameters:
responseId(required): The response ID from an asyncsend_messagecall
Returns: The response message if ready, or a status indicating it is still processing
Example prompt:
Check if Sazabi has finished processing my last questionSync vs async messages
The send_message tool supports two modes:
Synchronous (default)
When wait is true (the default), the tool waits for Sazabi to fully process
the message and returns the complete response. You can adjust the timeout with
timeoutSeconds. This is simpler but may take longer for complex queries.
Asynchronous
When wait is false, the tool returns immediately with a response ID. You can
then poll with get_response to check when the response is ready. This is
useful for:
- Long-running investigations
- When you want to ask multiple questions in parallel
- Avoiding timeouts on complex queries
Tool capabilities
Tools can do anything that Chat can do when you interact with Sazabi directly. This includes:
- Searching and analyzing logs
- Creating and updating threads
- Running investigations
- Generating summaries and reports
The main difference is that tools are invoked by your external AI assistant (Claude Code, Cursor, etc.) rather than through the Sazabi dashboard.