Search then fetch GitLab docs
search_and_fetchSearch GitLab documentation with a full-text query and get the complete markdown for each result in one call.
Instructions
Search documentation and return full markdown for each hit in one call.
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": {
"query": "<query>"
},
"name": "search_and_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum documents to search and fetch. | |
| query | Yes | Full-text search query (SQLite FTS5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of documents returned with content. | |
| query | Yes | ||
| documents | Yes |