Text Line Extractor
Extract specific lines from text by line numbers or ranges
API Documentation
Request Endpoint
POST /en/api/tools/text-line-extractor
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | - |
| extractMode | select | Yes | - |
| lineNumbers | text | No | - |
| lineRanges | text | No | - |
| includeLineNumbers | checkbox | No | - |
| sortByOriginal | checkbox | No | - |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-text-line-extractor": {
"name": "text-line-extractor",
"description": "Extract specific lines from text by line numbers or ranges",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-line-extractor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]