Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/livekit/agents
/ WeatherToolset
Class
WeatherToolset
tests/test_tool_proxy.py:60–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
59
60
class
WeatherToolset(Toolset):
61
def
__init__(self):
62
super().__init__(id=
"weather"
, tools=[weather_tool, forecast_tool])
63
64
65
class
FinanceToolset(Toolset):
Callers
12
test_tools_always_two
Method · 0.70
test_tools_constant_after_search
Method · 0.70
test_search_returns_full_schemas
Method · 0.70
test_search_no_results_raises_tool_error
Method · 0.70
test_search_empty_query_raises_tool_error
Method · 0.70
test_call_tool_function_tool
Method · 0.70
test_call_tool_with_multiple_args
Method · 0.70
test_call_unknown_tool_raises_tool_error
Method · 0.70
test_call_missing_required_arg_raises_tool_error
Method · 0.70
test_call_wrong_type_arg_raises_tool_error
Method · 0.70
test_tool_context_sees_only_proxy_tools
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
12
test_tools_always_two
Method · 0.56
test_tools_constant_after_search
Method · 0.56
test_search_returns_full_schemas
Method · 0.56
test_search_no_results_raises_tool_error
Method · 0.56
test_search_empty_query_raises_tool_error
Method · 0.56
test_call_tool_function_tool
Method · 0.56
test_call_tool_with_multiple_args
Method · 0.56
test_call_unknown_tool_raises_tool_error
Method · 0.56
test_call_missing_required_arg_raises_tool_error
Method · 0.56
test_call_wrong_type_arg_raises_tool_error
Method · 0.56
test_tool_context_sees_only_proxy_tools
Method · 0.56
__init__
Method · 0.56