filesystem
Search for text content in files
Searches for text content inside files. Returns each matching line, with the lines around it when contextLines is set.
GET
Search for text content in files
Authorizations
Sandbox access token created through POST /v1/token.
Path Parameters
Directory path to search in
Query Parameters
Text to search for
Case sensitive search (default: false)
Maximum number of results to return (default: 100)
File pattern to include (e.g., *.go)
Comma-separated directory names to skip (default: node_modules,vendor,.git,dist,build,target,pycache,.venv,.next,coverage)
Lines to include before and after each match in its context field (default: 0, max: 20; invalid values count as 0)