From 14d479209a61198970f2362ba825d430a0b8131b Mon Sep 17 00:00:00 2001 From: Pam Artiaga Date: Tue, 7 Oct 2025 15:05:28 +1100 Subject: [PATCH] Remove documentation for Codebase Search MCP tool --- .../model_context_protocol/mcp_server.md | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/doc/user/gitlab_duo/model_context_protocol/mcp_server.md b/doc/user/gitlab_duo/model_context_protocol/mcp_server.md index 3fcca9f8177ce9..dc51cde59fb42f 100644 --- a/doc/user/gitlab_duo/model_context_protocol/mcp_server.md +++ b/doc/user/gitlab_duo/model_context_protocol/mcp_server.md @@ -339,27 +339,3 @@ Example: ```plaintext Search issues for "flaky test" across GitLab ``` - -### `get_code_context` - -{{< history >}} - -- [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/569624) in GitLab 18.5. - -{{< /history >}} - -Searches for relevant code snippets in a project. - -| Parameter | Type | Required | Description | -|------------------|---------|----------|-------------| -| `search_term` | string | Yes | Search term. | -| `project_id` | integer | Yes | ID of the project. | -| `directory_path` | string | No | Path of the directory (for example, `app/services/`). | -| `knn` | integer | No | Number of nearest neighbors used to find similar code snippets. Default is `64`. | -| `limit` | integer | No | Maximum number of results to return. Default is `20`. | - -Example: - -```plaintext -Search for relevant code snippets that show how authorizations are managed in GitLab -``` -- GitLab