prefetch_related
Predict and pre-load context files likely needed next by analyzing imports, callees, and learned co-access patterns for efficient agent workflow.
Instructions
Predict and pre-load context that will likely be needed next.
Combines static analysis (imports, callees, test files) with learned co-access patterns to predict what the agent will need.
Args: file_path: The file currently being accessed source_content: The source code content (for static analysis) language: Programming language (python, typescript, rust)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | python | |
| file_path | Yes | ||
| source_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |