search_projects
Search GitLab projects by keyword matching name, path, namespace, or description. Filter by ownership or membership, and control sorting and pagination for targeted results.
Instructions
Search for GitLab projects by keyword.
The search performs substring matching across project name, path, namespace, and description. Note: Does not support regex or exact matching - it's a simple keyword search.
Args: search: Search keyword (substring match in name/path/namespace/description) owned: Only return projects owned by the authenticated user membership: Only return projects the user is a member of (default: True) page: Page number for pagination (default: 1) per_page: Number of results per page (default: 20, max: 100) order_by: Sort by field: 'id', 'name', 'created_at', 'star_count', 'last_activity_at' (default) sort: Sort order: 'asc' or 'desc' (default)
Returns: Formatted string with project search results including pagination info
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": "search_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | desc | |
| owned | No | ||
| search | Yes | ||
| order_by | No | last_activity_at | |
| per_page | No | ||
| membership | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |