capabilities
open fun capabilities(components: List<AIUIComponent>, tools: List<AIClientTool>): Map<String, Any?>
What the agent's backend needs to have its model write UI this renderer shows with components, and runs tools from, such as the model's instructions that list the tools, as plain Kotlin values. None by default.
Parameters
components
The app's components the agent can place.
tools
The app's tools a reply's UI can run. Each one's AIClientTool.definition has its name, description, argument schema and read-only hint, ready to list in the instructions.