File System Tool
The File System Tool enables DinoAI to interact with files in your repository, allowing it to create, modify, read, and search files based on your prompts.

Capabilities
Create File
SQL models for staging, intermediate, and mart layers; YAML configuration files for sources and documentation; schema.yml and README files; testing configurations
Modify File
Add new columns or properties; update documentation; refactor code to follow standards; fix errors or bugs
Read File
Understand your project structure; follow your coding patterns; reference existing code when generating new files
Search
Locate relevant examples, related files, and dependencies between models
Rename File
Rename files to follow naming conventions and update references accordingly
Grep Search
Scan for specific patterns, column references, or function names; identify all files affected by a refactor or rename; cross-reference model logic, source references, and macro usage
Security and Guardrails
DinoAI always asks for confirmation before creating or modifying files. File operations are limited to your current project, and you have full control over which actions are permitted at all times.
Best Practices
Be specific with your prompts β Clearly describe what you want to create or modify so DinoAI can take the right action on the right file
Add relevant context β For modifications, always add the file you want to change as context before running your prompt
Review changes carefully β Always check the preview before accepting any file creation or modification
Use
.dinorulesβ Set up.dinorulesto ensure consistent formatting and conventions are applied across all files DinoAI creates or modifies
Last updated
Was this helpful?