API Reference
WebFetchResult
Defined in: tools/builtin/builtin.types.ts:410
The contents fetched from a URL.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
contentType | string | MIME type of the body, e.g. text/html. | tools/builtin/builtin.types.ts:416 |
status | number | HTTP status code of the final response. | tools/builtin/builtin.types.ts:414 |
text | string | Extracted, text/markdown body — the backend decides how HTML is reduced to text. | tools/builtin/builtin.types.ts:418 |
url | string | Final URL after any redirects (echoes the request when there were none). | tools/builtin/builtin.types.ts:412 |