From cf4ac9c8db67031627f196fae894764367fba5b4 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 24 Aug 2026 18:07:03 -0400 Subject: [PATCH] refac --- backend/open_webui/utils/tools.py | 2 ++ 1 file changed, 2 insertions(+) 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.', }