Results and meta
The normalized shape each method returns, the provider's own response in raw, and the request id, usage and warnings in meta.
Alongside raw, most results carry meta when the provider sends one.
The provider’s response
raw holds exactly what the provider sent, so nothing is lost by normalizing it. Reach for it when you need a field Fieldwork doesn’t map.
const page = await web.read("https://frame.work/laptop13");
page.markdown; // the page as Markdown
page.raw; // the provider's own response
Agent tools strip raw before a model sees a result. The SDK never does.
What each method returns
searchreturns{ results, answer, images, meta, raw }. Each result hasurl,title,snippetand, when the provider has them,content,publishedAt,author,image,faviconandscore. Shopping, place, news, scholar and patent results setkindand carryprice,rating,reviewCountandplace.reverseImagereturns{ results, meta, raw }. Each match hassourceUrl, the page the image appears on, and, when the provider has them,url(the matched image),thumbnailUrl,title,description,width,height,kind("exact"or"visual"),siteName(the site as the engine names it) andpublishedAt.readreturns aPage:url,title,description,markdown,html,links,images,image(the page’s main image),excerpts,summary,publishedAt,author,language,statusCodeandscreenshot, as the provider has them.readManyreturns{ pages, failed }. A URL that could not be read is listed infailedwith the reason; it does not throw.extractreturns{ data, fields }.datafollows your schema;fieldslists each field’s citations when the provider returns them.productreturns the product and itsvariants, each withsku, optionvalues,price(amount,currency,formatted),originalPrice,availability,gtinandimages({ url, alt }).answerreturns{ answer, output, citations, continuationId }.researchreturns{ id, status, output, sources, fields, continuationId }.outputfollows your schema when you pass one, otherwise it is the report text.crawlreturns{ pages, failed, robotsBlocked, total }.downloadreturns{ url, bytes, contentType, size, statusCode, etag, lastModified }:urlis the final URL,bytesaUint8Arrayexactly as served,contentTypethe server’s header unchanged. Browserbase and Kernel also returnetagandlastModified.parsereturns{ id, markdown, pages, blocks, pageCount }. Withblocks: true,blockslists the layout in reading order, each block with itspage,type,textandbox. WithwordBoxes: true, LlamaParse and Reducto addwordsand tablecells, each with its own box. LlamaParse also addslinesto each block and each cell, each{ text, box }, the text being the line’s part of the block’s or cell’s text, Markdown included; Reducto places no lines. LlamaParse gives a cell in several boxes each of them asboxes(boxencloses them), marks a block read out of a page header or footer withcontainer, and withblocksorwordBoxesgives each page itswidthandheightin points. WithpageImages: true(LlamaParse), each page carriesimage, an address for a picture of the page that expires after about an hour;parse({ resume: id, pageImages: true })collects fresh addresses without the file: one request that reads the finished job, with no new parse and no credits charged. LlamaParse draws no pictures of a spreadsheet (xlsx, xls, csv, ods and the like), so a spreadsheet’s pages come back withoutimage. LlamaParse does not publish how long it keeps a job’s result; plan for 48 hours and treatNotFoundon resume as a job to parse again.
Pages that don't exist
A page that answered 404 or 410 is not returned. read throws NotFound on every provider, and readMany lists the URL in failed.
Jobs that stop early
A job that stopped early but produced output, for example on a credit or step limit, returns status: "partial" with stopReason. A job with no usable output throws JobFailed.
Meta
requestId?string
The provider's id for the request, for support tickets and feedback.
stringusage?Usage
Usagewarnings?string[]
Warnings the provider returned, such as an ignored option or a page it could not fully read.
string[]usage is in the provider’s own units:
credits?number
Provider credits, for providers that bill in credits.
numbercostUsd?number
The cost in US dollars, when the provider reports it.
numberunits?Record<string, number>
Other counted units, such as tokens or billed SKUs, by name.
Record<string, number>Document blocks and boxes
Every box is { left, top, width, height } in fractions of the page, measured from its top-left corner, whatever units the provider used. A box from LlamaParse lands where the same box from Reducto does.
pagenumber
The physical page number, starting at 1.
numbertypestring
The kind of block in the provider's own words, such as "Table", "heading" or "page_header".
stringtextstring
The block's content as the provider gave it: Markdown, or HTML for some tables.
stringbox?Box
Boxcontainer?"header" | "footer"
The page header or footer the provider read this block out of, when it was in one.
"header" | "footer"words?WordBox[]
Where each word sits, when the parse asked for word boxes.
WordBox[]lines?LineBox[]
Where each line sits, a table's cell lines included, when the parse asked for word boxes and the provider places lines.
LineBox[]cells?TableCell[]
A table's cells, when the parse asked for word boxes.
TableCell[]rownumber
numbercolumnnumber
numberrowSpan?number
Rows the cell spans, when more than one.
numbercolumnSpan?number
Columns the cell spans, when more than one.
numbertextstring
stringbox?Box
Encloses every box of the cell.
Boxboxes?Box[]
Each box the provider gives for the cell, in its order, when it gives them one by one: a cell can sit in several.
Box[]lines?LineBox[]
Where each line of the cell sits, when the provider places lines.
LineBox[]Page
urlstring
stringtitle?string
stringdescription?string
stringmarkdown?string
The page as Markdown.
stringhtml?string
Cleaned HTML.
stringrawHtml?string
The HTML exactly as the provider received it.
stringlinks?string[]
string[]images?string[]
string[]image?string
The page's main image as the page declares it, such as its og:image.
stringexcerpts?string[]
Passages that answer the query, when the read was given one.
string[]summary?string
A short summary, when the read asked for one.
stringpublishedAt?string
stringauthor?string
stringfavicon?string
stringlanguage?string
ISO 639-1 language code.
stringstatusCode?number
The HTTP status the page returned to the provider.
numberscreenshot?string
A URL of a screenshot of the page; providers expire these.
stringmeta?Meta
Metarawunknown
unknownSearch result
urlstring
stringtitle?string
stringsnippet?string
Text from the page that matched the query.
stringcontent?string
Page text, when the search was asked to include it.
stringpublishedAt?string
When the page was published, as the provider reports it.
stringlastUpdatedAt?string
When the page last changed, where the provider tracks it separately.
stringscore?number
numberauthor?string
stringimage?string
An image that represents the page.
stringfavicon?string
stringkind?string
The kind of result, when a search mixes or picks kinds: "web", "news", "research", "shopping", "place", "scholar", "patent", "person" and so on.
stringprice?Price
Shopping results.
Pricerating?number
numberreviewCount?number
numberplace?Place
Place results.
Place