LLM documentation

The tldraw docs are available in formats built for large language models (LLMs): plain-text bundles you can hand to a coding assistant or agent, and a copy-as-markdown button on every article.

llms.txt

We publish tldraw.dev/llms.txt, following the llms.txt convention. It indexes the SDK feature articles, the examples, and the release notes, and links to several bundles of the same content. The bundles are regenerated on every docs build.

FileContents
llms.txtIndex with links to all resources
llms-full.txtSDK feature articles, releases, and examples
llms-docs.txtSDK feature articles only
llms-releases.txtRelease notes only
llms-examples.txtExamples with full source code

The guides in this section of the site (under /docs) aren't in the bundles. Use the copy button below for those.

Using llms.txt with AI assistants

When working with an AI coding assistant, you can provide context by including the relevant llms.txt file in your prompt or conversation. For example:

  • Use llms-docs.txt when asking about SDK features, APIs, or implementation patterns
  • Use llms-examples.txt when looking for code examples or implementation references
  • Use llms-releases.txt when asking about recent changes or migration between versions
  • Use llms-full.txt when you need comprehensive context across all documentation

Many AI tools fetch URLs directly, so you can reference these files by URL in your prompts:

Read https://tldraw.dev/llms-docs.txt, then add a custom shape to my app.

Copy markdown button

Every article on tldraw.dev has a "Copy markdown" button in its header. Click it to copy the article as markdown, ready to paste into an LLM conversation. The copy keeps headings, code blocks, and links, and strips the site navigation.

  • AI integrations — Using the canvas with AI models: generated content, workflows, and agents
  • Mermaid diagrams — Turning model-generated diagram text into shapes
Prev
Mermaid diagrams
Next
Starter kits