However the LLM either can't see the output or chooses to ignore it:
(Translation: I don't have access to current weather data.
I can also see on the console that the function was executed:
open-webui-1 | INFO [open_webui.utils.middleware] tools={'get_current_weather': {'toolkit_id': 'wetter', 'callable': <function Tools.get_current_weather at 0x77c066194680>, 'spec': {'name': 'get_current_weather', 'description': 'Get the current weather for a given city.', 'parameters': {'properties': {'city': {'description': 'The name of the city to get the weather for.', 'type': 'string'}}, 'required': ['city'], 'type': 'object'}}, 'pydantic_model': <class 'open_webui.utils.tools.get_current_weather'>, 'file_handler': False, 'citation': True}, 'get_future_weather_week': {'toolkit_id': 'wetter', 'callable': <function Tools.get_future_weather_week at 0x77c066123a60>, 'spec': {'name': 'get_future_weather_week', 'description': 'Get the weather for the next week for a given city.', 'parameters': {'properties': {'city': {'description': 'The name of the city to get the weather for.', 'type': 'string'}}, 'required': ['city'], 'type': 'object'}}, 'pydantic_model': <class 'open_webui.utils.tools.get_future_weather_week'>, 'file_handler': False, 'citation': True}}
open-webui-1 | INFO [open_webui.utils.middleware] tools_function_calling_prompt='Available Tools: [{"name": "get_current_weather", "description": "Get the current weather for a given city.", "parameters": {"properties": {"city": {"description": "The name of the city to get the weather for.", "type": "string"}}, "required": ["city"], "type": "object"}}, {"name": "get_future_weather_week", "description": "Get the weather for the next week for a given city.", "parameters": {"properties": {"city": {"description": "The name of the city to get the weather for.", "type": "string"}}, "required": ["city"], "type": "object"}}]\nReturn an empty string if no tools match the query. If a function tool matches, construct and return a JSON object in the format {"name": "functionName", "parameters": {"requiredFunctionParamKey": "requiredFunctionParamValue"}} using the appropriate tool and its parameters. Only return the object and limit the response to the JSON object without additional text.'
Am I missing something?
Originally created by @rklasen on GitHub (Jan 30, 2025).
# Bug Report
I'm trying to use the weather tool: https://openwebui.com/t/spyci/keyless_weather
The weather tool seems to produce output:

However the LLM either can't see the output or chooses to ignore it:
(Translation: I don't have access to current weather data.

I can also see on the console that the function was executed:
```
open-webui-1 | INFO [open_webui.utils.middleware] tools={'get_current_weather': {'toolkit_id': 'wetter', 'callable': <function Tools.get_current_weather at 0x77c066194680>, 'spec': {'name': 'get_current_weather', 'description': 'Get the current weather for a given city.', 'parameters': {'properties': {'city': {'description': 'The name of the city to get the weather for.', 'type': 'string'}}, 'required': ['city'], 'type': 'object'}}, 'pydantic_model': <class 'open_webui.utils.tools.get_current_weather'>, 'file_handler': False, 'citation': True}, 'get_future_weather_week': {'toolkit_id': 'wetter', 'callable': <function Tools.get_future_weather_week at 0x77c066123a60>, 'spec': {'name': 'get_future_weather_week', 'description': 'Get the weather for the next week for a given city.', 'parameters': {'properties': {'city': {'description': 'The name of the city to get the weather for.', 'type': 'string'}}, 'required': ['city'], 'type': 'object'}}, 'pydantic_model': <class 'open_webui.utils.tools.get_future_weather_week'>, 'file_handler': False, 'citation': True}}
open-webui-1 | INFO [open_webui.utils.middleware] tools_function_calling_prompt='Available Tools: [{"name": "get_current_weather", "description": "Get the current weather for a given city.", "parameters": {"properties": {"city": {"description": "The name of the city to get the weather for.", "type": "string"}}, "required": ["city"], "type": "object"}}, {"name": "get_future_weather_week", "description": "Get the weather for the next week for a given city.", "parameters": {"properties": {"city": {"description": "The name of the city to get the weather for.", "type": "string"}}, "required": ["city"], "type": "object"}}]\nReturn an empty string if no tools match the query. If a function tool matches, construct and return a JSON object in the format {"name": "functionName", "parameters": {"requiredFunctionParamKey": "requiredFunctionParamValue"}} using the appropriate tool and its parameters. Only return the object and limit the response to the JSON object without additional text.'
```
Am I missing something?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rklasen on GitHub (Jan 30, 2025).
Bug Report
I'm trying to use the weather tool: https://openwebui.com/t/spyci/keyless_weather
The weather tool seems to produce output:
However the LLM either can't see the output or chooses to ignore it:
(Translation: I don't have access to current weather data.
I can also see on the console that the function was executed:
Am I missing something?