Skip to main content
Glama

find_line

Locate text within a file by searching for matching lines and retrieving their line numbers and full content. Simplify file analysis and editing tasks with precise results.

Instructions

Find lines that match provided text in the current file.

Args: search_text (str): Text to search for in the file

Returns: dict: Matching lines with their line numbers, and full text

Input Schema

NameRequiredDescriptionDefault
search_textYes

Input Schema (JSON Schema)

{ "properties": { "search_text": { "title": "Search Text", "type": "string" } }, "required": [ "search_text" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielpodrazka/editor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server