oss_unit_context
Fetches line-numbered code, symbols, and call edges for a specific unit, with offset-based paging to continue reading large units.
Instructions
단위 코드(줄 번호 포함)·심볼 목록·호출 간선(L0 근거 id 포함). 코드가 크면 next_offset 으로 이어 읽기.
offset 은 '단위 안의 줄 순번'(next_line 이 파일:줄). 심볼·간선은 첫 페이지에만. 신뢰도 0.5 미만 간선은 all_calls=true 일 때만.
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": {
"project_id": "<project_id>",
"unit_id": "<unit_id>"
},
"name": "oss_unit_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | main | |
| offset | No | ||
| unit_id | Yes | ||
| all_calls | No | ||
| project_id | Yes | ||
| include_calls | No |