Read a document, or a part of one
read_docReads a Tisty document in sections, line ranges, or character budgets and returns a print token so you can continue reading or edit passages without loading the whole document.
Instructions
The text of a document and the print it reads at. Left alone it brings the whole body; one past about 12,000 characters comes back as its outline instead, with whole set to false, and then you ask for a section, a run of lines or a budget of chars, about 12,000 at a time. Reading a part is the ordinary way to work: the print comes with every answer, so a passage can be changed with edit_doc without ever bringing the rest. pages_loose names the pages no line in the body names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Bring the whole document in standard GitHub Markdown, to hand to another tool — Confluence, Jira, Notion, Linear, GitHub — whose own tools turn it into their format. Not everything travels, and the answer says what this document loses in `left_out`, which you tell the person before publishing: attached files stay in Tisty — `export_doc` writes them into a folder, from where the other place's tool uploads them; diagrams stay mermaid fences, drawn by GitHub, GitLab and Notion but shown as code by Confluence and Jira; links to other documents and tasks become plain words; pens, underlines, icons and folds go as HTML tags some places show as written. A document put away or marked as having had its day says so first. Pages come apart, each read with `as`. It takes no part of the document: no `section`, lines or `chars` | |
| to | No | Last line. Left out, it reads to the end | |
| doc | Yes | The document's id, as `docs` hands it back — an opaque name like `q7ntmzbm-0001`, not its title | |
| from | No | First line, counting from 1 | |
| chars | No | About how many characters to bring. The answer says `next` when there is more | |
| No | The `print` the previous part came with. Needed only alongside `cursor`, so that two halves are known to be the same document | ||
| cursor | No | The `next` a previous answer gave, to carry on from there. It goes with `chars`; on its own it is ignored and the reading starts again from the top | |
| section | No | One heading and everything under it, numbered as `outline_doc` numbers them, from 0 |