diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 3c3d973480..d3ab28b147 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -969,6 +969,8 @@ def add_terminal_display_file_inline_param(spec: dict) -> dict: 'type': 'boolean', 'description': 'Show the file inline in the chat message instead of opening the file viewer.', } + properties['page'] = { + 'type': 'integer', 'minimum': 1, 'description': 'For PDF, DOCX, and PPTX files, open the preview at this 1-based page or slide number.', }