You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/features/mcp-server.mdx
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -375,6 +375,39 @@ Parameters:
375
375
|`page`| no | Page number for pagination (min 1, default: 1). |
376
376
|`perPage`| no | Results per page for pagination (min 1, max 100, default: 50). |
377
377
378
+
### `glob`
379
+
380
+
Finds files whose paths match a glob pattern across repositories (e.g. `**/*.ts`, `src/**/*.test.{ts,tsx}`). Results are grouped by repository.
381
+
382
+
Parameters:
383
+
| Name | Required | Description |
384
+
|:----------|:---------|:------------|
385
+
|`pattern`| yes | Glob pattern to match file paths against (e.g. `**/*.ts`, `src/**/*.test.{ts,tsx}`). |
386
+
|`path`| no | Restrict results to files under this subdirectory. |
387
+
|`repo`| no | Repository name to search in. If not provided, searches all repositories. Use the full name including host (e.g. `github.com/org/repo`). |
388
+
|`ref`| no | Commit SHA, branch or tag name to search on. If not provided, defaults to the default branch. |
389
+
|`limit`| no | Maximum number of files to return (default: 100). |
390
+
391
+
### `find_symbol_definitions`
392
+
393
+
Finds where a symbol (function, class, variable, etc.) is defined in a repository.
394
+
395
+
Parameters:
396
+
| Name | Required | Description |
397
+
|:---------|:---------|:------------|
398
+
|`symbol`| yes | The symbol name to find definitions of. |
399
+
|`repo`| yes | Repository name to scope the search to. Use the full name including host (e.g. `github.com/org/repo`). |
400
+
401
+
### `find_symbol_references`
402
+
403
+
Finds all usages of a symbol (function, class, variable, etc.) across a repository.
404
+
405
+
Parameters:
406
+
| Name | Required | Description |
407
+
|:---------|:---------|:------------|
408
+
|`symbol`| yes | The symbol name to find references to. |
409
+
|`repo`| yes | Repository name to scope the search to. Use the full name including host (e.g. `github.com/org/repo`). |
410
+
378
411
### `list_language_models`
379
412
380
413
Lists the available language models configured on the Sourcebot instance. Use this to discover which models can be specified when calling `ask_codebase`.
0 commit comments