Skip to content

Function: toolsFromControlSurface()

toolsFromControlSurface(options?): OracleTool[]

Defined in: packages/aiui-oracle/src/aiui-tools.ts:113

Project the page's control surface into typed oracle tools — a SNAPSHOT. For a live surface, re-project on onControlSurfaceChange and hand the result to session.setTools (the owner-decided day-one flexibility).

Parameters

options?

ControlSurfaceToolsOptions = {}

Returns

OracleTool[]