search_merge_requests
Search merge requests using full-text queries within a project or group to quickly find relevant MRs.
Instructions
Search merge requests by full-text query within a project or group. Maps to GET /:scope/:id/search?scope=merge_requests.
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": {
"scope": "<scope>",
"id": "<id>",
"query": "<query>"
},
"name": "search_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Search scope: 'project' (id is numeric Project ID) or 'group' (id is group ID or full path). | |
| id | Yes | Project ID (numeric, as a string) or group ID/path | |
| query | Yes | Search query | |
| state | No | Filter by state |