HostedCall
Defined in: core/src/hosted/types.ts:155
One hosted run, assembled. Display data, with the sensitivity of content:
an excerpt can quote the caller’s own documents.
A failed call is data (status: "failed", error the vendor’s code, such as
max_uses_exceeded) and the turn goes on, as a failing function tool’s does
(invariant 7). A call the vendor never finished fails with no_result.
Properties
Section titled “Properties”at: number;Defined in: core/src/hosted/types.ts:163
Where in content the call ran: the text’s length when it started.
error?
Section titled “error?”optional error?: string;Defined in: core/src/hosted/types.ts:161
id: string;Defined in: core/src/hosted/types.ts:156
input?
Section titled “input?”optional input?: HostedInput;Defined in: core/src/hosted/types.ts:159
output?
Section titled “output?”optional output?: HostedOutput;Defined in: core/src/hosted/types.ts:160
status
Section titled “status”status: "running" | "completed" | "failed";Defined in: core/src/hosted/types.ts:158
type: | "web_search" | "web_fetch" | "code_execution" | "file_search" | "image_generation";Defined in: core/src/hosted/types.ts:157