Skip to main content

generate_a2ui_tool

Function generate_a2ui_tool 

Source
pub fn generate_a2ui_tool() -> ToolDefinition
Expand description

The planner-facing tool: ask for a surface.

The intent argument is the important one. "update" targets a surface that already exists and must not be re-created; "create" allocates a new surface_id. The description spells that out because the planner is the only one who knows which the user meant.