Interface: OracleTool
Defined in: packages/aiui-oracle/src/types.ts:97
A tool the model may call — executed locally, in the page.
Properties
description
description:
string
Defined in: packages/aiui-oracle/src/types.ts:101
What the model reads to decide when to call it.
name
name:
string
Defined in: packages/aiui-oracle/src/types.ts:99
Vendor-visible name (the model calls this).
parameters
parameters:
Record<string,unknown>
Defined in: packages/aiui-oracle/src/types.ts:104
JSON Schema for the arguments. Realtime has NO strict mode — the bridge validates defensively; this schema is advisory to the model.
Methods
execute()
execute(
args):unknown
Defined in: packages/aiui-oracle/src/types.ts:110
Run the call. The return value is JSON-stringified into the function_call_output (a thrown error becomes an { error } output the model can read — the vendor has no error channel for tools).
Parameters
args
Record<string, unknown>
Returns
unknown