24 lines
611 B
JSON
24 lines
611 B
JSON
{
|
|
"name": "read_file",
|
|
"description": "Read the complete contents of a file as text. DEPRECATED: Use read_text_file instead.",
|
|
"inputSchema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"tail": {
|
|
"description": "If provided, returns only the last N lines of the file",
|
|
"type": "number"
|
|
},
|
|
"head": {
|
|
"description": "If provided, returns only the first N lines of the file",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
]
|
|
}
|
|
} |