extract-lines
Extract a specific range of lines from text content while preserving formatting and newlines. Input the text, start line, and end line to retrieve the desired section.
Instructions
Extract a specific range of lines from text content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_line | Yes | Ending line number (inclusive) | |
start_line | Yes | Starting line number (inclusive) | |
text | Yes | The full text content to extract lines from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"end_line": {
"description": "Ending line number (inclusive)",
"type": "integer"
},
"start_line": {
"description": "Starting line number (inclusive)",
"minimum": 1,
"type": "integer"
},
"text": {
"description": "The full text content to extract lines from",
"type": "string"
}
},
"required": [
"text",
"start_line",
"end_line"
],
"type": "object"
}