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

# Note documents

> Generate a document from a template, read its sections, and delete it.

These tools require edit access to the note. Creating a document requires a user credential.

| MCP | Action | Arguments | Scope |
| - | - | - | - |
| `list_note_documents` | List documents | `noteGuid` | `note_document:read` |
| `get_note_document` | Read sections and generation status | `noteGuid, documentId` | `note_document:read` |
| `create_note_document` | Generate a document from a template | `noteGuid, templateId, locale?` | `note_document:write` |
| `delete_note_document` | Delete a document | `noteGuid, documentId` | `note_document:write` |

Find a template ID with `list_document_templates` (`note_document_template:read`). Poll `get_note_document` with the returned `documentId` and the original `noteGuid`.

In a production sample of 196 document generation jobs completed on November 29, 2026, the time from queuing to completion averaged 30.1 seconds. The longest took 91 seconds. The sample covered multiple ways to generate documents. Jobs can take longer depending on transcript length and the number of template sections. If your client times out, keep the `documentId` and check the same document again later.

```json theme={"system"}
{"noteGuid":"NOTE_GUID","templateId":42,"locale":"en-US"}
```

* `GENERATING` — Generation in progress
* `COMPLETED` — Content is ready
* `FAILED` — Generation failed
* `UNKNOWN` — Status unavailable

The list includes each document’s template ID, title, and locale. The detail response includes each section’s ID, content, and revision. Confirm deletion with the user. Deletion during generation returns 409. Reading a deleted document returns 404.

If the combined section text exceeds 5,000 UTF-16 code units, the detail call returns 413 `CONTENT_TOO_LARGE`. See `detail.generationStatus` for the generation status.

The document can report `COMPLETED` as soon as its text is saved. While the worker finishes, `get_note_document_section` may return 409 `CONTENT_NOT_EDITABLE`. To edit a section, wait for that read to succeed and use its fresh `revision` as `expectedRevision`.


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