get_directory_context
Recursively load and cache an entire directory's files as formatted context for AI agents, reducing multiple file reads to a single call.
Instructions
Recursively packages all files in a directory and returns them as formatted context for AI agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootPath | Yes | Root directory path to recursively include | |
| configPath | No | Path to contextcache.json (optional) | |
| excludePatterns | No | Additional glob patterns to exclude |