MCPcopy
hub / github.com/dataelement/Clawith / make_tool

Function make_tool

backend/tests/test_tool_tenant_scope.py:7–14  ·  view source on GitHub ↗
(**overrides)

Source from the content-addressed store, hash-verified

5
6
7def make_tool(**overrides):
8 values = {
9 "id": uuid.uuid4(),
10 "source": "builtin",
11 "tenant_id": None,
12 }
13 values.update(overrides)
14 return SimpleNamespace(**values)
15
16
17def test_builtin_tools_are_visible_across_tenants():

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected