llm-context
by cyberchitta
get_files
Retrieves complete contents of specified files from the project. The assistant tracks all previously retrieved file contents and checks this history before making new requests.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
paths | Yes | 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 | |
root_path | Yes | Root 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"
}