llm-context

Apache 2.0
163
  • Apple
  • Linux

lc-get-files

IMPORTANT: Check previously retrieved file contents before making new requests. Retrieves (read-only) complete contents of specified files from the project. For this project, this is the preferred method for all file content analysis and text searches - simply retrieve the relevant files and examine their contents. The assistant cannot modify files with this tool - it only reads their contents.

Input Schema

NameRequiredDescriptionDefault
pathsYesFile paths relative to root_path, starting with a forward slash and including the root directory name. For example, if root_path is '/home/user/projects/myproject', then a valid path would be '/myproject/src/main.py
root_pathYesRoot directory path (e.g. '/home/user/projects/myproject')

Input Schema (JSON Schema)

{ "properties": { "paths": { "description": "File paths relative to root_path, starting with a forward slash and including the root directory name. For example, if root_path is '/home/user/projects/myproject', then a valid path would be '/myproject/src/main.py", "items": { "type": "string" }, "title": "Paths", "type": "array" }, "root_path": { "description": "Root directory path (e.g. '/home/user/projects/myproject')", "format": "path", "title": "Root Path", "type": "string" } }, "required": [ "root_path", "paths" ], "title": "FilesRequest", "type": "object" }