Context Pack
context_packGenerates a task-aware local context packet containing primary files, related files, tests, and validation commands so coding agents can start from the right repository context.
Instructions
Generate a task-aware local context packet with primary files, related files, tests, and validation commands. Deterministic by default; online:true also asks a read model for the request's intent and which candidate files it needs, reported under modelRead.
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": "context_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repository path. Defaults to current working directory. | |
| limit | No | Maximum primary, related, and test files per section. Defaults to 8. | |
| paths | No | Repository paths for a multi-repo context packet. Omitted, `path` plus the `companions` listed in its .solumberc.json. | |
| query | Yes | Task or question to gather context for. | |
| online | No | Ask a read model (TypeSafe's Jev or Claude) for the request's intent and each candidate file's relevance, applying confident answers. Needs TYPESAFE_API_KEY or ANTHROPIC_API_KEY; without either the pack is unchanged. Defaults to false. | |
| includeEvidence | No | Include per-file imports, exports, and symbol slices as source evidence. Defaults to false to keep the packet compact. | |
| includeMarkdown | No | Return a compact human-readable markdown report instead of the full JSON packet. Defaults to false. |