Interface: WebFetchResult
Defined in: packages/tools/src/web/web-fetch.ts:480
Indexable
[
extra:string]:unknown
Properties
content?
optionalcontent?:"main"|"full"
Defined in: packages/tools/src/web/web-fetch.ts:502
For a page read for its main content: main, or full when the cut left too little and the whole page came back.
content_type
content_type:
string
Defined in: packages/tools/src/web/web-fetch.ts:483
description?
optionaldescription?:string
Defined in: packages/tools/src/web/web-fetch.ts:486
icon_urls?
optionalicon_urls?:string[]
Defined in: packages/tools/src/web/web-fetch.ts:487
next_offset?
optionalnext_offset?:number
Defined in: packages/tools/src/web/web-fetch.ts:496
Present when there is more: call again with this offset.
note?
optionalnote?:string
Defined in: packages/tools/src/web/web-fetch.ts:500
Why the text is short or empty, when there is a reason worth knowing.
offset
offset:
number
Defined in: packages/tools/src/web/web-fetch.ts:493
pages?
optionalpages?:number
Defined in: packages/tools/src/web/web-fetch.ts:491
A PDF's page count.
read_via?
optionalread_via?:"fallback"
Defined in: packages/tools/src/web/web-fetch.ts:498
Present when the text came from the fallback reader.
site_name?
optionalsite_name?:string
Defined in: packages/tools/src/web/web-fetch.ts:485
status
status:
number
Defined in: packages/tools/src/web/web-fetch.ts:482
structured_data?
optionalstructured_data?:unknown[]
Defined in: packages/tools/src/web/web-fetch.ts:489
JSON-LD blocks that fit structuredDataChars.
text
text:
string
Defined in: packages/tools/src/web/web-fetch.ts:492
title?
optionaltitle?:string
Defined in: packages/tools/src/web/web-fetch.ts:484
total_chars
total_chars:
number
Defined in: packages/tools/src/web/web-fetch.ts:494
url
url:
string
Defined in: packages/tools/src/web/web-fetch.ts:481