dump_codebase_context
Recursively extract and organize text files from a directory, respecting .gitignore, skip binaries, and chunk output for easier integration with Large Language Models (LLMs).
Instructions
Recursively reads text files from a specified directory, respecting .gitignore rules and skipping binary files. Concatenates content with file path headers/footers. Supports chunking the output for large codebases.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base_path | Yes | The absolute path to the project directory to scan. | |
chunk_index | No | Optional 1-based index of the chunk to return (default: 1). Requires num_chunks > 1. | |
num_chunks | No | Optional total number of chunks to divide the output into (default: 1). |