aia_set_property
Updates a property on a screen or component in an MIT App Inventor project, accepting string, number, or boolean values to customize app behavior and design.
Instructions
Set one property on the screen itself (omit component_name) or on one of its components. Value may be string, number or boolean.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"screen_name": "<screen_name>",
"prop": "<prop>",
"value": "<value>"
},
"name": "aia_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to an .aia file | |
| prop | Yes | ||
| value | Yes | ||
| screen_name | Yes | ||
| component_name | No |