Search Code
gitlab_search_codeSearch code across all GitLab projects to find matches by content, filename, extension, or path. Requires GitLab code search support.
Instructions
Search code across all projects on the GitLab instance. Requires GitLab code search support.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search": "<search>"
},
"name": "gitlab_search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | No | ||
| search | Yes | ||
| filename | No | ||
| per_page | No | ||
| extension | No |