One of 38 things your AI can do in your Instroc account, in Versions and code
List app files
list_
Reads only
Ask your AI
- What files does my app have?
- Show me the project structure
- Where is the contact form code
What it does
Lists the source files of an Instroc app, in path order, with each file's size and last change, a page at a time (total and has_more say whether more follow).
Files that hold secrets, such as .env files, keys and database dumps, are listed with readable false and their contents are never returned; read_app_file also refuses a file in which it finds a key. A path that contains a key is shown masked and with readable false. Fits requests like 'what files does my app have', 'show me the project structure', 'where is the contact form code'. read_app_file returns a listed file's contents.
This is the text your AI reads, word for word.
- Changes
- None. It only reads.
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps or create_app.
prefixOptional- Only paths starting with this folder or path, e.g. 'src/components'. Default: every file.
limitOptionaloffsetOptional- Paths to skip, for the next page when has_more is true.