railyard/apps/relay/crates/tensorzero-node/lib/bindings/GatewayEventPayloadToolCall.ts

19 lines
663 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AutopilotSideInfo } from "./AutopilotSideInfo";
import type { JsonValue } from "./serde_json/JsonValue";
/**
* Tool call payload as seen by gateway consumers.
* Includes `requires_approval` which is set by the gateway based on tool whitelist config.
*/
export type GatewayEventPayloadToolCall = {
name: string;
arguments: JsonValue;
side_info: AutopilotSideInfo;
/**
* Whether this tool call requires manual user approval.
* `false` for whitelisted tools (auto-approved by gateway).
*/
requires_approval: boolean;
};