ToolUIConfig
6 Jul 20261 minute to read
Configuration for registering a custom tool UI in AIAssistView.
Allows to define how a tool UI should be rendered and interactive.
Properties
handler Object
Optional callback invoked after the tool UI is rendered into the DOM.
Use this to attach event listeners or perform post-render setup.
template string|Function
Template function that returns HTML string for rendering the tool.
Receives the tool UI arguments (props) and should return an HTML string.
toolName string
The unique name of the tool.