A read-only process for finding out what a canvas app contains, what is wrong
with it, and what changed between versions. Nothing in this skill stages or
pushes anything.
Prerequisite: The flowstudio-power-apps-canvas-mcp skill (sessions, draft versus
live, timeouts). Connection setup is in the flowstudio-power-automate-mcp skill.
Subscribe at https://mcp.flowstudio.app
Always calltool_searchwith"skill:canvas-app"first to confirm tool
names and parameter schemas. They change between server versions.
This skill covers behavior the schemas cannot tell you. Tool behavior was
checked on the production server on 2026-11-20; lines marked "on a real app"
come from customer apps built between August and November 2026. If what a
response shows actually happened disagrees with this file, the response
wins. The server's general guidance text does not override the warnings
here.
list_canvas_apps: find the app id.get_canvas_app: screens, data sources, package sizes, App Checkerfindings, and the session.
list_canvas_controls: the control tree, names and types only. Cheap.under: "<screen or control>" narrows to one subtree.search: "<text>" matches names and types in the app and the catalog.describe_canvas_control with name: every formula on that control, itsparent, and the package file it lives in. depth: "all" returns the
subtree up to 400 controls, the fastest way to read a screen. If the reply
says truncated: true, describe its containers one at a time.
get_canvas_app_sources: data sources with columns. Pass dataSource forone source in full.
check_canvas_formula with no formula: compiles every formula in theapp in one call.
score_canvas_app: quality score and ranked fixes.describe_canvas_control returns the formulas the app actually uses, already
resolved. You do not need to read the package JSON to find a property's value.
get_canvas_app Tells Youscreens, screenCount, dataSources, sizes.hasUnpublishedDraft: someone pushed or saved without publishing.appChecker: Microsoft's App Checker findings **from the last Power AppsStudio save**. Tool edits do not refresh it, so it can name screens that no
longer exist, and on a real app 13 compile errors showed as zero findings
here. Treat it as history, not current state.
readOnlyView: present when you asked for a version or definitionother than the one your session is based on. You are viewing that state,
but edits apply to session.basedOnVersion.
get_canvas_app_sources returns, per source:
example Contacts for the contact table);
supports, and serverPagingOnly;
A Dataverse table also brings one entry per choice column (OptionSetInfo)
and a views entry, so the catalog can run to dozens of rows for one table.
Flows and connectors (ServiceInfo) carry no columns.
The schema comes from the app package as last saved. If a SharePoint list or
Dataverse table has gained columns since, refreshDataSource (seeflowstudio-power-apps-canvas-edit) re-reads it.
check_canvas_formula runs Microsoft's Power Fx compiler. PassenvironmentName and app so the scope is built from the app's real controls
and columns. Add screen to narrow the scope to one screen, and control to
put Self and Parent in scope. With neither formula nor formulas it
checks every formula in the app.
It reliably caught, in testing:
.Value on thenew modern text input, which outputs .Text).
SharePoint choice columns (Status.Value), person columns andPatch(list, Defaults(list), {...}) check clean on 2026-11-20 (earlier
versions of the checker flagged them).
It reports these as problems when they are not:
Office365Users.MyProfileV2() and flow calls suchas 'Greeting-Flow'.Run(...) ("unknown or unsupported function");
(Power Apps allows it);
TriggerOutput.Keypress and similar enum values the checker was not given;every new modern text input has one;
Text(ThisItem.Amount, "$0.00"), because collection columns are not in the
package;
Value, the output column of Distinct in current apps: it says Valueis "not recognised". (It also rejects Result, which is right in a current
app; older apps, where Result is the name, were not tested.)
It misses these, or reports them only vaguely:
Navigate(...) in a screen's OnVisible. The checker does not know whichproperty a formula is for, and a dry run setProperty gives no warning
either; Studio reported it as an error on a real app.
Sort(Distinct(list, Origin), "Result"). Aquoted name is a text constant, so nothing is sorted. The checker shows only
a general "Arguments were rejected" line that does not name the column.
That line usually follows another finding; when it is the only one and an
argument holds a quoted column name, suspect this mistake.
check_canvas_formula findings are warnings and never block an edit. Judge
each one. (update_canvas_app does refuse one kind of formula: unbalanced
brackets or quotes; see flowstudio-power-apps-canvas-edit.)
check_canvas_formula with layout: true lists layout suggestions instead,
mostly from Microsoft's layout guidance and some from FlowStudio's own
measurements. Each names its source.
score_canvas_app scores the app 0-10 across function, data, feedback,
errors and recovery, layout, scrolling, responsiveness, navigation, forms,
accessibility, copy, first use, typography, color, consistency, performance,
and trust and privacy. toImprove ranks fixes by score gain. screen
narrows the findings list; the score stays the whole app's. It always scores
the current state (staged edits included) and takes no version. Every push
and publish response also carries the score.
certainty: "heuristic" findings can be wrong for a given app. "certain"
ones come from the app's structure, but on 2026-11-20 it marked the column
controls of a new Table as zero-size, and whether they really were was not
checked. Check before deleting or resizing anything.
list_canvas_app_versions: isLive: true is what users run. Drafts areversioned too. top defaults to 20; if no returned row has isLive: true,
call again with a larger top (the reply's count is the total).
get_canvas_app, list_canvas_controls, describe_canvas_control,get_canvas_app_sources, get_canvas_app_files and check_canvas_formula
take version (an id from that list) ordefinition: "published" | "draft" | "latest". Reading an old version does
not disturb the session.
definition, or definition: "latest", a read shows yoursession's base plus your staged edits.** With nothing staged that is the
head (the newest saved version, whatever its state); after a push the head
is your draft, so it shows unpublished work as if users had it. If the app
was saved after you staged something, it still shows your old base: read
the head by its version id. Pass definition: "published" for what users
run. "draft" is the newest version marked Draft only, so it skips Studio
autosaves and publishes.
lifeCycleId: "Published" on an app in list_canvas_apps describes the apprecord, not a version. Only isLive in the versions list says what users
run.
diff_canvas_app takes from and to: a version id, or published,draft, session (your staged edits) or base (the version your session
started from). name limits it to one screen.
base to session is what you are about to push.published to session is everything the next publish would release,including unpublished work someone else left in the base.
base to the head's version id (the newest row inlist_canvas_app_versions, or the liveHead a refusal gives you) is what
moved under you. base to draft misses Studio autosaves and publishes.
Reading a diff: trust the per-control changes more than the summary.
screens[].propertiesChanged gives control, property, from and to.appear in both files.added and files.removed.
summary.controlsAdded;look at screensAdded[].controls. Controls inside a removed screen may be
missing from the counts the same way.
identical: true covers control trees only. Check files for data sources,settings (Properties.json) and connections (References/*). A warning
about unreadable screens means the diff is incomplete.
base to session, the byte counts under files.changed are notreliable. Use them only between two saved versions.
To find when something broke, read the property at successive versions withdescribe_canvas_control and version.
Users run the last published version. A Studio tab's editor and its preview
(Play, F5) run the copy that tab loaded. To state what users see:
list_canvas_app_versions and take the isLive: true version, or passdefinition: "published".
describe_canvas_control on the control at that version.If a screenshot disagrees with your read, ask where it came from. A Studio tab
opened before your last push shows an old copy. Publishing takes a few seconds
to reach users, and an app someone already has open may need a reload.
get_canvas_app_files with no paths lists every file; with paths it
returns content (text inline, images as base64). offset and length are in
bytes and apply to every path in the call, so read large files one at a time.
A window can end in the middle of a multi-byte character (a dash or curly
quote), which shows as �; that is the window, not damage.
| File | Holds |
|---|---|
Controls/<n>.json | one screen's control tree: what the app runs |
one Controls/<n>.json, usually 1.json | the App object: OnStart, Formulas, StartScreen; edit with update_canvas_app, screen and control App |
Src/<Screen>.pa.yaml | a YAML copy of the same controls. The app does not run from it, but Studio parses it when it opens the app |
References/DataSources.json | data sources and their cached schema |
References/Resources.json | images and other media the app can use by name |
Properties.json | app settings: design size, scale to fit, and DefaultConnectedDataSourceMaxGetRowsCount |
The YAML matters to Studio. The player runs Controls/*.json, and the
server's replies call the YAML a copy regenerated from it. But Studio parsesSrc/*.pa.yaml when it opens an app. On a real app (August 2026) one YAML
syntax error stopped Studio opening the app (ErrOpeningDocument_UnknownError)
while the player ran it fine, and a Studio that cannot open the app cannot
save it to repair the file. Two ways the YAML falls out of step, both seen on
2026-11-20:
renameScreen edit, that screen's Src/<Screen>.pa.yaml wasrewritten with only the screen name and no controls, and later edits did not
rebuild it. What Studio does with that file has not been checked.
update_canvas_app_files is pushed as written whilethe controls keep their old values.
Read controls with describe_canvas_control, not the YAML. Check the YAML
when someone says Studio will not open an app.
Autosaved with far fewer controls than the live version:someone saved a near-empty app. Do not push, publish, overwrite or replay
edits; see flowstudio-power-apps-canvas-ship.
baseMovedBy above 0: someone else changed the app since you opened it.DefaultConnectedDataSourceMaxGetRowsCount inProperties.json (500 by default) and look for a ClearCollect, or aFilter or Sort the data source cannot run itself, over a large list.
Such reads stop at that many rows with no error. On a real app admins saw
500 of 521 rows this way. Neither the checker nor the score flags it.
checkFlowConnections,warning that an import can break the app's link to a flow. Only Power Apps
Studio shows it ("Not connected"); list_live_connections cannot.
flowstudio-power-apps-canvas-mcp: sessions, draft versus live, timeouts and costsflowstudio-power-apps-canvas-edit: change what you foundflowstudio-power-apps-canvas-ship: push and publish, recover a damaged headflowstudio-power-automate-debug: diagnose a flow the app calls