文档

ctx_preload - Tool Reference

Proactive context loader — caches task-relevant files, returns L-curve-optimized summary (~50-100 tokens vs ~5000 for individual reads).

ctx_preload Intelligence Tools

Proactive context loader — caches task-relevant files, returns L-curve-optimized summary (~50-100 tokens vs ~5000 for individual reads).

Parameters
2
Required
1
Token Impact
Pre-loads 3-8 files in optimal modes, saving individual read roundtrips.

When to Use

At session start - give it your task description and it auto-loads relevant files into cache.

When Not to Use

When you already know exactly which files to read (use ctx_read directly).

Parameters

Parameter Type Required Description
path string No Project root (default: .)
task string Yes Task description (e.g. 'fix auth bug in validate_token')

Related Tools

Schema MD5: d72370b88a54db91288f2dd7981e3bc7 ← Back to all tools