Expand description
The two tool definitions an A2UI agent exposes.
They sit at different levels and are easy to confuse:
generate_a2ui_toolis planner-facing. The orchestrating model calls it to say “render this, as a new surface or as an edit to that one”. Its arguments are intent and description, not components.render_a2ui_toolis the inner structured-output tool. The generating model calls it to emit the actual surface: a flat component list and a data model.
Keeping them apart is what lets the planner stay out of the component catalog: it describes what it wants, and the inner call produces it.
Structs§
- Tool
Definition - A provider-neutral tool definition.
Functions§
- generate_
a2ui_ tool - The planner-facing tool: ask for a surface.
- render_
a2ui_ tool - The inner structured-output tool: emit the surface.
- tool_
definitions - Both tool definitions, planner-facing first.