find_file
Search for files in Bitbucket Server using name or path patterns with wildcards. Restrict by project or repository to narrow results.
Instructions
Find files by name or path pattern using Bitbucket Server's code search.
Supports Lucene wildcards (e.g., 'SPREMRG*', '.pks', 'src/main/.java').
Args: query: File name or path pattern to search for. project_key: Optional project key to restrict search scope. repo_slug: Optional repository slug to restrict search (requires project_key). limit: Maximum number of results (default 25, max 1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| project_key | No | ||
| repo_slug | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |