ai_component
Manage App Inventor designer components: add, remove, rename, select, inspect the component tree, get or set properties, and list available types and schemas in the live editor.
Instructions
Designer components: tree/add/remove/rename/select/get/set/types/schema.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | New name (rename) | |
| from | No | Current name (rename) | |
| name | No | Component name (add/remove/rename/select/get/set) | |
| type | No | Component type (add/schema/types) | |
| query | No | Filter (types) | |
| value | No | Property value (set) | |
| action | No | What to do | |
| parent | No | Container to nest into (add) | |
| screen | No | Screen name (tree) | |
| property | No | Property name (set) | |
| component | No | Component name (get/set) | |
| includeProperties | No | Include property values in tree (default true) |