get_file_content
Read the full text of an indexed file by its ID, or get surrounding context around a specific chunk to expand search results.
Instructions
Read an indexed file's text by file_id (from a search result).
Two modes:
around_chunk < 0 (default): the whole extracted text. Large files are capped — prefer a window (below) to read a specific part of a big doc.
around_chunk >= 0: that chunk plus
radiuschunks on each side, in order. This is how you expand around a specific search hit: pass the file_id and the chunk index the search returned to get its surrounding context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| file_id | Yes | ||
| around_chunk | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |