Skip to content

M5-3: File Search

Description

Create search_container_files tool for filename and content searching.

Endpoint

POST /api/v1/tools/search_container_files

Parameters

  • container_name, search_type ("filename" or "content"), query
  • path (string): Starting path
  • max_results (number): Default 100
  • file_extensions (array): Filter
  • max_depth (number): Default 4, max 5
  • timeout_seconds (number): Default 10, max 60

Features

  • Filename search with wildcards
  • Content search with regex
  • Search result context (before/after lines)
  • Timeout protection with partial results
  • File extension filtering

Estimated Effort

1.5 days