Search Code
gitlab_search_codeFind code blobs in a GitLab project by searching for specific terms using the GitLab Search API.
Instructions
Search code blobs in a project using the GitLab Search API.
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": {
"project_id": "<project_id>",
"search": "<search>"
},
"name": "gitlab_search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | Yes | ||
| per_page | No | ||
| project_id | Yes | ||
| search_type | No |