Open Agent Loops
API Reference

WebFetchResult

@open-agent-loops/core


Defined in: tools/builtin/builtin.types.ts:410

The contents fetched from a URL.

Properties

PropertyTypeDescriptionDefined in
contentTypestringMIME type of the body, e.g. text/html.tools/builtin/builtin.types.ts:416
statusnumberHTTP status code of the final response.tools/builtin/builtin.types.ts:414
textstringExtracted, text/markdown body — the backend decides how HTML is reduced to text.tools/builtin/builtin.types.ts:418
urlstringFinal URL after any redirects (echoes the request when there were none).tools/builtin/builtin.types.ts:412

On this page