Pack project context
pack_contextCreate a redacted project context export for AI agents, with configurable file selection, detail level, and format.
Instructions
Build an exact redacted DevProjex context export. A stored pack id remains valid until this server process exits; after restart, call pack_context again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | tree-content | |
| paths | No | Existing project-relative files or directories that narrow the selection. | |
| branch | No | Optional Git branch for a remote project URL; invalid for local project paths. | |
| detail | No | Collapse code to signatures or strip comments/blank lines to fit large projects into a budget; unsupported languages are returned unchanged. | full |
| format | No | markdown | |
| profile | No | Selection profile: 'standard', 'local', or a portable profile JSON path inside the project root. | |
| project | No | Absolute root path returned by list_projects, or a Git URL when the server allows remote sources. Optional only when one local root is configured. | |
| git_scope | No | Further restrict results to staged files, all current changes, or files changed between two Git refs. | |
| max_tokens | No | Maximum estimated content tokens to include; accepts an integer or numeric string. Document structure is outside this budget. | |
| tracked_only | No | Restrict results to files tracked by Git; accepts a boolean or the string 'true' or 'false'. | |
| max_file_bytes | No | Exclude otherwise selected files strictly larger than this byte count; integer or numeric string. | |
| exclude_patterns | No | Project-relative glob patterns using '/' to exclude additional paths. | |
| include_patterns | No | Project-relative glob patterns using '/'. They only narrow built-in and gitignore filtering. |