AI Agents
AI agents can interact with Tiptap documents on the server to accomplish complex tasks. The Server AI Toolkit contains built-in tools that allow your AI to read and edit documents server-side.
With the Server AI Toolkit, you can build agents with server-side document editing capabilities:
AI agent chatbot
Build a conversational AI agent that can read and edit documents through chat using the Server AI Toolkit API.
With Tracked Changes
Integrate the Server AI Toolkit with the Tracked Changes extension, so users can review and accept/reject AI-generated content
Comments
Give your AI agents the ability to read, write and edit comments in your document, fully server-side.
With Whiteboard
Let your AI agents add notes, draw diagrams and write documents on a whiteboard, directly or as suggestions that users review.
With Diagrams
Let your AI agents read, add and change the charts and diagrams of a document.
Custom nodes
Configure your custom nodes and marks so your AI can generate them reliably.
Available tools
The Server AI Toolkit provides tool definitions that your AI agent can call to interact with documents on the server. These tools enable reading content and making edits efficiently.
When you call the Server AI Toolkit API endpoints, the AI model can generate tool calls that are then executed using the /v4/ai/toolkit/execute-tool endpoint. This allows the AI to read, edit, and manipulate documents based on user requests.