Get library file text
get_library_file_textLegacy alias for get_library_file.
When to use it
Legacy alias for get_library_file. Prefer get_library_file for new clients.
Search chunks, read only the precise chunk or bounded text needed, cite ids.
Source text, chunks, snippets, ids, and citation-ready context.
Avoid using it when
Prefer get_library_file for direct file reads. Prefer search_library mode chunks and get_library_file_chunk for long PDFs, filings, transcripts, imports, or precise citations.
Advanced input contract
Agent hosts use this JSON Schema to validate the exact input shape.
View full registry notes
Legacy alias for get_library_file. Reads metadata and bounded extracted text from a library source by id; prefer get_library_file for new clients. Use when: Legacy alias for get_library_file. Prefer get_library_file for new clients. Avoid when: Prefer get_library_file for direct file reads. Prefer search_library mode chunks and get_library_file_chunk for long PDFs, filings, transcripts, imports, or precise citations.
View JSON Schema
{
"type": "object",
"properties": {
"fileId": {
"type": "string",
"format": "uuid"
},
"maxCharacters": {
"type": "integer",
"minimum": 500,
"maximum": 100000,
"default": 8000
}
},
"required": [
"fileId"
],
"additionalProperties": false
}