Large results
Large values (documents, recordings, long tool results) come back as an outline plus a content handle, a hash that names the value. Nothing was dropped: the stored value is never truncated, only its rendering is. Any value can be read by its handle, by range, by path or by query, and an entity can be read one field at a time. To filter, group or count the items of a large list, query it as a table through the query resource.
Every value is stored once under its handle, and the handle names its type (a PDF's starts with pdf-). Values never change: editing one gives a new handle and leaves the original, and the record it came from, untouched, so an edit is kept only once you write the new handle where the value is used. Pass a handle instead of copying a value: an argument can name a stored value, or one part of it, by its handle. A handle belongs to the organization of the call that produced it, so read it in that organization (discovery).
Read text rather than looking at it. A document's text read by page range or by query is exact, cheap, and comes with page and line locators to narrow the next read; render pages as images only when the layout matters (a stamp, a signature, a checkbox). Fetch the part you need, never the whole value.
A long text is first shown as an outline of its sections, each with its line range, not as its beginning. Open a section by its line range; search the text when no section title says where to look. A long text with no headings whose parts differ in what they are about (a transcript, a page saved as plain text) is shown as a map of its parts instead: each part's line range, how it begins, and a few words that set it apart from the other parts; one whose parts read alike (rows of data, a log) is shown as its beginning and end. A long text inside a larger result (the text of a fetched page, the body of a message) is read the same way, by its path and a line range. A line number shown anywhere, in an outline, next to a search hit or in a read, can be passed back as a range: it is the same line every time.
The footer of a large result says how to read the rest. When you need one whole field, read that field directly rather than the whole entity; when you need what an agent actually sees, render its context in the lab rather than reading raw configuration.