list_controls
Explore a Power Apps canvas app's control tree by screen or control type, returning each control's name, type, variant, parent, depth, and property count.
Instructions
The control tree (name, type, variant, parent, depth, number of properties), optionally for one screen and/or one control type (substring, e.g. 'Gallery', 'Button'). Use get_control for formulas.
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": {
"source": "<source>"
},
"name": "list_controls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| limit | No | ||
| screen | No | ||
| source | Yes | ||
| control_type | No |