Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| document | Create, ingest, and inspect documents. Actions:
|
| layout | Configure document typesetting and layout. Only provided parameters are changed; others are left as-is. section_break: Page break before level-1 sections. "before" inserts \clearpage before each \section. Works in any column mode. Individual sections can override via edit(page_break="before"). |
| edit | Manipulate document content structurally. Actions:
Sections are addressed by title path (e.g., 'Methods/Data Collection'). Blocks within a section are addressed by 0-based index. page_break: For sections — "before", "after", "both", or "" to clear. Emits \clearpage before/after the section. |
| render | Compile and export the document. Actions:
|
| reference | Search LaTeX documentation, symbols, packages, and error solutions. Actions:
|
| queue | Execute multiple operations in a single call. Each operation is a dict with 'tool' (document, layout, edit, render, reference) plus the arguments for that tool. Operations run sequentially; disk is written once at the end. Example: queue(operations=[ {"tool": "document", "action": "create", "title": "My Doc"}, {"tool": "edit", "action": "insert", "block_type": "section", "title": "Intro", "level": 1}, {"tool": "edit", "action": "insert", "content": "Hello world.", "section": "Intro"}, {"tool": "layout", "columns": 2, "font": "palatino"} ]) Args: operations: List of operation dicts. continue_on_error: If False (default), stop on first error. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| workflow_map | TeXFlow workflow map showing states and transitions. |