MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / execute

Method execute

tests/lib/tools/toolsets/test_interface.py:139–140  ·  view source on GitHub ↗
(self, context: BetaToolsetCallContext, name: Any, input: Any)

Source from the content-addressed store, hash-verified

137 class Hooked(TwoMembers):
138 @override
139 def execute(self, context: BetaToolsetCallContext, name: Any, input: Any) -> Any:
140 return super().execute(context, name, input)
141
142 assert _disabled(Hooked().to_dict()) == []
143 assert Hooked().execute(CTX, "navigate", BetaBrowserNavigateInput(url="https://example.com/")).status == 200

Calls

no outgoing calls

Tested by

no test coverage detected