Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
An openrouter:web_fetch server tool output item

Example Usage

import { OutputWebFetchServerToolItem } from "@openrouter/sdk/models";

let value: OutputWebFetchServerToolItem = {
  status: "completed",
  type: "openrouter:web_fetch",
};

Fields

FieldTypeRequiredDescriptionExample
contentstring:heavy_minus_sign:N/A
errorstring:heavy_minus_sign:The error message if the fetch failed.
httpStatusnumber:heavy_minus_sign:The HTTP status code returned by the upstream URL fetch.
idstring:heavy_minus_sign:N/A
statusmodels.ToolCallStatus:heavy_check_mark:N/Acompleted
titlestring:heavy_minus_sign:N/A
typemodels.OutputWebFetchServerToolItemType:heavy_check_mark:N/A
urlstring:heavy_minus_sign:N/A