Enable `gitlab_blob_search` group and instance-level code search
## Release notes We’ve extended the **[gitlab_blob_search](https://docs.gitlab.com/user/duo_agent_platform/agents/tools/#:~:text=REST%20API%20endpoint.-,GitLab%20Blob%20Search,-gitlab_blob_search)** tool so that GitLab AI agents can search code: - Across **all projects in a group** (group-level search). - Across **all accessible projects on an instance** (instance-level search). Previously, blob search was limited to a single project (or required specifying explicit project IDs). This change makes it much easier for AI-powered workflows to discover and reuse code that’s spread across multiple related projects. ## What changed - **Group-level search** - When an AI workflow uses `gitlab_blob_search` in a **group context**, the tool now searches across all projects in that group that the user can access. - Results are annotated with the originating **project and file**, so you can see where each snippet lives. - **Instance-level search** - When invoked in an **instance-level context**, `gitlab_blob_search` can search across all accessible projects on the instance. - This is especially useful for large organizations and platform teams that maintain shared libraries and patterns across many projects. - **Project-level search remains the default** - If no group or instance scope is provided, `gitlab_blob_search` continues to behave as a **project-scoped** search. - Existing workflows that rely on project-only search continue to work without changes. - **No explicit project IDs required** - Agents no longer need callers to pass explicit project IDs to search across a group or instance; the tool can infer the appropriate scope from the context. ## Availability and prerequisites - Available in %"18.10" - Group and instance-level `gitlab_blob_search` are only enabled on instances where: - **Advanced Search / code search** is available and configured. - The feature is designed to: - Work **without requiring MCP Server** to be enabled. - Work **without requiring Beta feature flags** to be turned on. - The implementation is compatible with **GitLab Dedicated**, subject to the same Advanced Search requirements.
issue