get_toc
Map of the instruction documents available to you: one entry per document with a one-line summary of what it covers and how to use it. Small documents list their sections inline (id, title, summary); large ones show a section count and how to expand them. Call this at the start of a conversation and again whenever the conversation moves to a topic or system you haven't checked guidance for. Cheap; safe to call repeatedly.
In a large collection the map is condensed (document lines, titles, or just an overview) and says so; then pass query.
query: what you are about to do (e.g. "checking a product's eligibility rules before an application"). Lists only the documents relevant to it, best first — the map for the task at hand.
document_id: pass a document's id (as shown in the map) to list every section of that one document. Do this to browse a document you need to read through. To find a specific rule, identifier, error code or table, call search_instructions instead — it is cheaper than expanding a large document and reading its section list.
Ids in the output are short prefixes; pass them as-is to get_section or get_toc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| document_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |