Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
The output from a function call execution

Example Usage

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

let value: FunctionCallOutputItem = {
  callId: "call-abc123",
  output: "{\"temperature\":72,\"conditions\":\"sunny\"}",
  type: "function_call_output",
};

Fields

FieldTypeRequiredDescriptionExample
callIdstring:heavy_check_mark:N/A
idstring:heavy_minus_sign:N/A
outputmodels.FunctionCallOutputItemOutputUnion2:heavy_check_mark:N/A
statusmodels.FunctionCallOutputItemStatus:heavy_minus_sign:N/Acompleted
typemodels.FunctionCallOutputItemTypeFunctionCallOutput:heavy_check_mark:N/A