Skip to content

Function: subscribeControlSurface()

subscribeControlSurface(listener): () => void

Defined in: control.ts:156

Subscribe to control-surface changes (a control or action registered). Used by the standard tools to register late-declared actions as agent tools. Returns an unsubscribe.

Parameters

listener

() => void

Returns

() => void