search_lhcb_stack
Search code snippets across an LHCb software stack and automatically resolve the correct Git references for its projects.
Instructions
Search for code snippets within a specific LHCb software stack (e.g., 'sim11'). Automatically resolves the correct Git references for projects in that stack.
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_term": "<search_term>",
"stack": "<stack>"
},
"name": "search_lhcb_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional: Override the Git branch or tag to search within. If omitted, uses the branch matching the stack. | |
| page | No | Page number to retrieve | |
| scope | No | 'blobs' searches file content (default), 'filenames' searches only file names | blobs |
| stack | Yes | Name of the software stack (e.g. 'sim11') | |
| project | No | Optional: limit search to a specific project (ID or path). If omitted, searches across all public projects using default refs. | |
| per_page | No | Number of results to return | |
| search_term | Yes | The code or text to search for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||