get_file_content
Retrieve text content from uploaded files by specifying a file ID, with automatic UTF-8 decoding and configurable size limits to manage output length.
Instructions
Download the raw content of an uploaded file as text.
Bytes are decoded as UTF-8 with replacement for invalid sequences. Output
is truncated to `max_bytes` to avoid overwhelming the response.
Args:
file_id: ID of the uploaded file.
max_bytes: Maximum bytes to return (default 500 000).
Returns:
File text, with a truncation note appended when the content exceeds `max_bytes`.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| max_bytes | No |