truncated set to true, it’s incomplete: raise --max-results or narrow the search with --path and --glob to get a complete result.
Every path is relative to the app root. sandbox commands don’t require a local project. Target an app by passing --app-id, setting the BASE44_APP_ID environment variable, or running the command from a linked project if you have one.
Usage
Arguments
Flags
Output
The command returns JSON:matches has:
The response itself also carries:
Example
Find every use of a hook in thesrc tree, in .tsx files only:
See also
- Bring your own agent: How the sandbox works, and what you can change in it
sandbox read: Read file contents from the sandboxsandbox ls: List directory entries in the sandboxsandbox edit: Apply exact string replacements to a file