get_file
Retrieve file content from a specified project using a relative path. Supports optional line range parameters for precise content extraction.
Instructions
Get content of a file.
Args:
project: Project name
path: File path relative to project root
max_lines: Maximum number of lines to return
start_line: First line to include (0-based)
Returns:
File content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_lines | No | ||
path | Yes | ||
project | Yes | ||
start_line | No |
Input Schema (JSON Schema)
{
"properties": {
"max_lines": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Lines"
},
"path": {
"title": "Path",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
},
"start_line": {
"default": 0,
"title": "Start Line",
"type": "integer"
}
},
"required": [
"project",
"path"
],
"title": "get_fileArguments",
"type": "object"
}