The Chat interface is the primary way you interact with your Toolbelt assistants. It supports streaming responses, multi-modal input (images/text), tool execution, and deep history management.
The three chat contexts#
Every assistant in Toolbelt organizes conversations into three distinct contexts. You switch between them using the tabs at the top of the chat list.
Your private workspace. Only you can see these chats. This is the right place to experiment, test prompts, and iterate before sharing anything with the team.
Visible to everyone in your organization with access to this assistant. Use shared chats for collaborative work, demos, or prompts that the whole team should be able to build on.
Automatically generated conversations. You'll see entries here when a scheduled task runs, or when another assistant delegates work to this one. Event chats are read-only records of what happened.
Toggling between Personal and Shared#
Look for the lock icon in the chat header. Click it to move the current chat between your personal workspace and the shared org view:
- Lock closed (purple) — the chat is personal. Only you see it.
- Lock open — the chat is shared with the organization.
You can also rename a chat by clicking its title in the list.
Before sharing, use your Personal context to make sure the conversation looks the way you want. Once it's in Shared, anyone in the org can see it.
Chat actions#
Hover over any chat in the list to reveal four action buttons on the right side of the row.
| Action | What it does |
|---|---|
| Toggle share | Moves the chat between your Personal workspace and the Shared org view. The icon shows a closed lock (purple) when the chat is personal and an open lock when it is shared. |
| Share link | Copies a direct URL to this chat to your clipboard. Anyone in your organization who has access to this assistant can open the link and jump straight to the conversation. |
| Rename | Opens an inline editor so you can replace the auto-generated title with something more descriptive. Press Enter to save or Escape to cancel. |
| Delete | Permanently removes the chat and its message history. This action cannot be undone. |
Deleting a chat is permanent — the full message history is removed and cannot be recovered. If you just want to tidy up the list, consider renaming it instead.
Forking a shared chat#
If you find a useful shared chat that you want to continue privately — without affecting what the rest of the team sees — use Fork.
Forking creates a personal copy of the conversation up to that point. From there, you can take it in any direction without touching the original. Your fork appears in your Personal context.
What the Event tab is for#
The Event tab is an automatic record-keeper. You don't create Event chats manually — they appear when:
- A scheduled task runs and produces a response (for example, a daily briefing prompt).
- Another assistant delegates work to this one as part of a multi-assistant workflow.
Think of the Event tab as your assistant's activity log — a transparent record of everything it did autonomously on your behalf.
Chat sessions#
Every conversation in Toolbelt happens within a Chat Session tied to a specific assistant. Chat sessions maintain the context window — allowing the AI to remember what was said earlier in the thread.
Starting a chat#
When you send a message to an assistant for the first time, a new chat session is automatically created. You can also explicitly create a new session by clicking New Chat in the UI, which clears the context window and gives the assistant a fresh start.
Forking a chat#
If a conversation goes off track or you want to explore an alternative path without losing your current progress, you can Fork a chat.
Forking creates a brand new chat session that copies all messages up to the point you selected. The new session is completely independent; continuing the conversation in the fork will not affect the original chat.
Streaming and interaction#
Toolbelt uses Server-Sent Events (SSE) to stream AI responses in real time. This means you see the assistant's thought process, tool executions, and text generation as they happen.
Handling tool calls#
When you ask an assistant to perform an action, it often needs to use one of its connected tools.
- Tool selection: The assistant decides which tool to use based on your prompt.
- Execution: You'll see an indicator in the chat UI showing that a tool is running (e.g., "Fetching issues from GitHub...").
- Response: The tool returns data to the assistant, which then formulates a final, human-readable response.
If a tool returns an exceptionally large dataset (like thousands of rows), Toolbelt automatically intercepts it and converts it into a queryable DuckDB database, prompting the assistant to write SQL to extract the answer instead of overflowing the context window.
Multi-modal input#
You can paste or drag-and-drop images directly into the chat input. The assistant can analyze the image and incorporate it into its response (provided the underlying AI model supports vision).
Managing history#
Toolbelt automatically saves all your chat sessions so you can resume them later or reference past work.
Finding past chats#
You can view your recent conversations in the sidebar under your assistant. For a complete list, click View all history.
The history view allows you to:
- Search for specific keywords across all past conversations.
- Filter by date or chat type (e.g., standard chats vs. automated event chats).
- Resume any past conversation right where you left off.
Managing & pruning automated event chats#
When recurring scheduled tasks or webhook integrations run frequently (such as every 15 minutes or hourly), event chats can accumulate rapidly. Toolbelt provides automated tools to keep your event history organized:
- Marking events as read:
- Unread event chats display a subtle indicator badge.
- You can clear all unread badges at once by telling the assistant: "Mark all event notifications as read" (uses
mark_events_read).
- Bulk-deleting event logs:
- You can prune obsolete event conversations in bulk without affecting your manual chat history.
- Tell your assistant in chat: "Bulk delete event chats older than 7 days" or "Clean up completed event chats from last month" (uses
bulk_delete_event_chats).
Bulk-deleting event chats removes the conversational transcripts from your chat sidebar, but execution metrics and timestamps remain safely preserved in the task's Execution History under Scheduled Tasks.
API reference#
The chat system exposes several REST API endpoints for programmatic interaction. All endpoints are mounted under /api/workspaces/:workspaceId/chats.
Create a chat#
POST /api/workspaces/:workspaceId/chats
Creates a new empty chat session.
Send a message and stream response#
POST /api/workspaces/:workspaceId/chats/:chatId/stream
Sends a message to the assistant and opens an SSE connection to stream the response. Accepts text and base64-encoded images.
Fork a chat#
POST /api/workspaces/:workspaceId/chats/:chatId/fork
Creates a new chat session copying all messages up to a specified messageId.
List chats#
GET /api/workspaces/:workspaceId/chats?type=regular
Returns a paginated list of chat sessions. The type parameter can be regular, events, or all.
Share to organization#
POST /api/workspaces/:workspaceId/chats/:chatId/share-to-org
Shares a private chat session with the rest of the organization (if the organization belongs to an organization).
