Get code context
get_code_contextRetrieve a code chunk with configurable surrounding lines using the chunk ID from a previous code search.
Instructions
Retrieve a matched code chunk with configurable surrounding lines. Use the chunkId returned by search_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunkId | Yes | ||
| contextLines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| text | Yes | ||
| chunkId | Yes | ||
| endLine | Yes | ||
| language | Yes | ||
| startLine | Yes | ||
| documentId | Yes | ||
| chunkEndLine | Yes | ||
| chunkStartLine | Yes |