List files
list_filesList the design files you can open in every workspace of the account (or one, with workspace), most recently edited first, with their project, their workspace (when the account has several), your role and what they hold: their pages with the number of screens (detail "frames": the screens' names too). query finds files by the name of the file, its project, a page or a screen ("onboarding", "checkout payment"), and shows where it matched.
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": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Words that must all appear in the file's name, its project's, or the name of one of its pages or screens. | |
| detail | No | files: one line per file. pages (default): its pages and their screen counts. frames: each page's screen names. | pages |
| workspace | No | Only this workspace: its id or name (whoami lists them). Default: all. |