Metis · Software Engineer — Search Code Repository
search_code_repositoryFind reusable scripts, functions, dataset variables, and cleaning steps in a code repository by query, with optional project and language filters.
Instructions
Search the Code Repository for prior code, variables and treatments.
Finds reusable scripts/functions, dataset variables and cleaning steps that
match a query — e.g. "Poisson model offset" or "catastrophic expenditure".
Args:
query: What you're looking for.
project_id: Restrict to one project. Optional.
language: Restrict to a language (r, python, …). Optional.
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_code_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| language | No | ||
| project_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |