Repo Context Pack
repo_context_packPreferred task-oriented code lookup for unknown file locations. Defaults to paths_only; use compact for short snippets and snippets for ranking/debug detail. Set mode=keyword for local lookup without embedding requests.
Instructions
Preferred task-oriented code lookup for unknown file locations. Defaults to paths_only; use compact for short snippets and snippets for ranking/debug detail. Set mode=keyword for local lookup without embedding 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": {
"query": "<query>"
},
"name": "repo_context_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| query | Yes | ||
| max_results | No | ||
| project_path | No | ||
| related_depth | No | ||
| response_mode | No | paths_only | |
| max_seed_files | No | ||
| max_context_chars | No | ||
| max_related_files | No | ||
| max_related_items | No | ||
| max_snippet_chars | No | ||
| include_related_snippets | No | ||
| max_related_context_chars | No | ||
| max_related_snippet_chars | No | ||
| max_related_snippets_per_file | No |