Read context pack
read_packReads a stored search_project or related_files result page by pack_id, enabling targeted line- and column-range retrieval for inspection.
Instructions
Reads a stored result page created by search_project or related_files. Use its pack_id; use search_project for evidence or related_files for dependencies when no valid stored result exists. Returns untrusted data up to 1,000 lines or 50,000 characters with trusted continuation or range notes. Protection changes invalidate stored content; selection-only changes retain it with a warning. Ranges and columns are inclusive and 1-based.
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": {
"pack_id": "<pack_id>"
},
"name": "read_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack_id | Yes | Session id returned by search_project or related_files. | |
| end_line | No | Last inclusive 1-based returned-text line; accepts integer or numeric string. | |
| start_line | No | First 1-based returned-text line; accepts integer or numeric string. | |
| start_column | No | First 1-based Unicode character on start_line; use a returned continuation value. |