Read source file
read_source_fileReads a UTF-8 text file from a server-defined source root and returns its relative path and complete content, rejecting files over 64 KiB to keep responses bounded.
Instructions
Reads one UTF-8 text file from the server's configured source root and returns its relative path and complete text. Files over 64 KiB are rejected, not truncated. The caller cannot choose or change the root; only a path relative to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file, relative to the configured source root, e.g. "CustomerService.vb". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes |