> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# tldraw

> How to set up the tldraw connector, plus the actions that are available.

![tldraw](https://stackone-logos.com/api/tldraw/filled/svg)

Previewv0.1.0[See changelog](https://docs.stackone.com/connectors/tldraw/changelog.md)

[6 actions](#actions) · 1 auth method

Design
MCP

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [MCP (Open Server) · Connector Profile](https://docs.stackone.com/connectors/tldraw/guides/connector-profile/mcp-open-server.md)
>
> Open MCP server. No credentials required to connect.

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [MCP (Open Server) · Link Account](https://docs.stackone.com/connectors/tldraw/guides/link-account/mcp-open-server.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

6 actions

ActionDescription

Execute Code`tldraw_exec`

Execute JavaScript code on a tldraw canvas. The code runs in the widget with access to the live `editor` instance, helpe...

Exec Callback`tldraw_exec_callback`

App-only: widget calls this to resolve a pending exec request.

Get Canvas State`tldraw_get_canvas_state`

App-only: get the latest checkpoint for a canvas by its canvasId.

Read Checkpoint`tldraw_read_checkpoint`

App-only: read shapes from a checkpoint by ID.

Save Checkpoint`tldraw_save_checkpoint`

App-only: save shapes to a checkpoint (from user edits). shapesJson and assetsJson must be JSON array strings.

Search Editor API`tldraw_search`

Search the tldraw Editor API spec by writing JavaScript that receives a `spec` object and returns a result. The spec con...


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.