How an AI reads these docs #
On this page
Use search_documentation to find pages and read_documentation to read them through your Turn Zero Cloud connection. You can search for a few words, then read a whole page, one section, or a page's matching lines.
A Cloud tool name without a prefix is its HTTP API name; your MCP connection lists it with tzcloud_ before it. On the Turn Zero connection, Cloud tools are listed as tzcloud_<name> and tzTrack tools as tztrack_<name>. Account tools such as mint_token keep their shorter names.
The “Machine surfaces of this documentation” section in the Cloud overview's Markdown copy lists the files an AI tool can read without an MCP connection. Each page has a Markdown copy at its address followed by index.md, such as https://turnzero.ai/cloud/guides/store-files/index.md. Pages with a visible title also link their copy as View this page as Markdown.
What the action reads #
Call read_documentation with:
tree: "cloud"for the page index.tree: "cloud", part: "outline"for pages and their headings.pagefor one page, withsectionto select a section.pagewithqueryfor that page's lines holding a few words.
To search across pages, call search_documentation with query. Without tree, the search covers every documentation tree your account can read.
Leave part out to read a whole page, one section, or a page's matching lines. Use part: "outline" with a tree to list its pages and headings, or with page to list that page's headings. Use part: "full" for a tree's authored pages together, or with page for that page. With page, part: "full" also reads the named section alone. Do not combine outline with section, or either outline or full with query. These reads still come in chunks.
For a link such as /guides/store-files, pass that route as page with tree: "cloud", or prefix the route with /cloud.
Read an action's reference page for its full arguments and result.
The contracts, the overview, and the platform’s own skills are context entries rather than pages. Call read_context without id to list their IDs, or with id to read one entry. A client that supports only tools reads the same content the resources hold.
For another product your connection offers, the catalog lists a skills:<product> entry. Reading it lists that product’s skills by their prefixed names, with their descriptions and arguments. Read one with read_context, using skill:<prefixed-name>. These individual IDs can be read but are not listed in the catalog. The read sends no arguments; a client that shows prompts can run one with arguments itself.
A product that offers no skills answers one line saying so, as tzTrack does. A product your connection does not offer has no entry; reading it fails with context_not_found. A skills list can still answer from a saved copy while its server is down. With no saved list, it fails with context_unavailable, naming the server’s address. Reading an individual skill needs its server to answer; otherwise that read fails with context_unavailable too.
One read_context call with id: "tools" and limit: 16000 returns the compact tool index whole. Its first line explains how to read a Turn Zero Cloud tool's reference page with read_documentation. Each remaining line gives a listed Turn Zero Cloud tool's name and its description's opening sentence, a long one shortened at a word. Where your account holds another product, the last line names that product's own entry, such as id: "tools:tztrack" with limit: 16000. That entry lists each tool with the whole opening sentence of its description, in one read.
Long texts come in chunks #
A long text comes back in chunks of about limit characters, 8,000 unless you set it. A chunk ends at the end of a line where the line fits, and never inside a code block that fits in one chunk. It never ends between a section heading and the section's first line of text where the two fit.
A JSON text from read_context, such as the manifest schema, follows one more rule, and so does a .json file read through read_library. The rule covers such a text written one member to a line. In it, a chunk never ends inside a member that is shorter than half the limit and sits at the top level or one level below it.
To read on, pass each response's next_offset and stamp, a fingerprint of the whole page or entry, the same in every chunk. Or, after the first response, ask for every later chunk at once: one read at each multiple of the limit, each with the first response's stamp. Each response's offset says where its text starts, which can be a little before the offset you asked for. Those chunks join in order with nothing missing or repeated.
If your AI client truncates a response or a batch of results, read one chunk at a time at the default limit, or request one section at a time.
Going straight to a section #
The first chunk includes a section index. It lists the page's headings in headings, each with an offset. To go straight to a section, read the page again with that offset and the first chunk's stamp. The answer then starts at that heading. Or read one section alone, with section set to its heading. Where no heading or anchor matches exactly, letter case is ignored and each run of spaces or punctuation reads as one hyphen, so going straight to a section reads this section.
On a page with anchors, an unknown section is refused context_not_found, listing as many anchors as its budget allows. Anchors matching the most words of your value come first, with ties in page order. Retry with an anchor it lists, or read the page's headings with part: "outline".
A page with more than 40 headings lists only its second-level ones; use query or section to reach a deeper one. The list contains at most 200 headings, and a heading longer than 200 characters is cut to 200. When either limit cuts the list, the continuation says the list is cut short.
Searching #
Search with search_documentation and a few distinctive words, such as a command name. Results come best first: a section ranks higher when it holds more of your words, when they are rare across the documentation, and when they stand in its page title or heading. Documentation search gives the full rule. The same search runs over HTTP with no sign-in.
Each hit gives the page title, section heading, route, anchor, and best matching line, and text gives the same hits as Markdown lines. To read a hit, call read_documentation with its route as page and its anchor as section. A link with a heading's anchor, passed as page, reads that section too. With page set, a query to read_documentation returns that page's matching lines, each with its offset. Use those offsets with the same stamp to read more.
Given a bare rule code as its query, search_documentation says it names a statement of the platform's specification and then lists the sections that hold it, each with its page and heading.
Related #
- Connect your AI assistant makes the connection these reads use.
- The generated reference for search_documentation, read_documentation, and read_context gives each argument and its limits.
- MCP resources and prompts lists the resources and prompts a connected AI tool reads.