Load File
load_fileStore a file in cache for use by code analysis tools, supporting refactoring, queries, and logic checks. Overwrites any previous cache.
Instructions
Cache a single file for analysis tools (refactor_code, ask_about_code, verify_logic). Overwrites previous cache. Path is relative to server working directory (e.g. src/index.ts) or absolute (e.g. /home/user/project/src/index.ts).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path relative to workspace root (e.g. src/index.ts) or absolute. Must be within workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| result | No | Successful result payload. | |
| error | No | Error payload when ok is false. |