Skip to main content

Overview

Autype provides machine-readable resources specifically designed for LLMs, AI agents, and automation tools. These resources enable AI systems to construct valid Autype documents, understand the extended Markdown syntax, and work with the full document schema — without any manual configuration. All resources are publicly accessible at autype.com/llm-resources/ and are always up to date.

Available Resources

Complete Document Schema

Full JSON Schema (draft-07) covering all element types, styling, variables, citations, abbreviations, and sections.

Zod Schema (TypeScript)

Complete Zod schema as TypeScript source. Use for validation in TypeScript/JavaScript projects.

Markdown Syntax Reference

Full reference for Autype’s extended Markdown syntax with all directives, attributes, and examples.

Resource Index

JSON index of all available LLM resources with descriptions and URLs.

Sub-Schemas

These focused schemas cover individual parts of the document structure. Use them when you only need to work with a specific area.

Defaults (Styling)

Fonts, colors, spacing, heading styles, table styles, header/footer, citation style.

Variables

Template variables: text, number, image, list, and table types. Use {{varName}} in text.

Abbreviations

Abbreviation definitions mapping short forms to full text.

Citations

Bibliography entries in CSL-JSON format. 6 citation styles supported.

Document Settings

Page size, margins, orientation, output format (PDF/DOCX/ODT), and metadata.

Sections & Elements

All 20 content element types: text, tables, images, charts, code, math, QR codes, and more.

Usage with AI Agents

MCP Server

The Autype MCP Server has built-in access to these schemas. When an AI agent connects via MCP, it can generate documents directly.

Direct API Integration

For custom AI integrations, point your LLM to the resource index:
https://autype.com/llm-resources/index.json
The LLM can then fetch the complete document schema and construct valid documents for the Autype Developer API.

Example: System Prompt

You are a document generation assistant. Use the Autype document schema
to construct valid JSON documents.

Schema: https://autype.com/llm-resources/document-schema.json
Markdown syntax: https://autype.com/llm-resources/markdown-syntax.md

Required fields: document (with type: "pdf" or "docx") and sections array.