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

Method action

tests/lib/tools/toolsets/_computer_fakes.py:70–71  ·  view source on GitHub ↗
(self, name: str, context: BetaToolsetCallContext, input: Any)

Source from the content-addressed store, hash-verified

68 return self.do("mouse_move", context, input)
69
70 def action(self, name: str, context: BetaToolsetCallContext, input: Any) -> Any:
71 return self.do(name, context, input) # a pure action may hand back one line of text
72
73
74def approve(context: object) -> bool: # noqa: ARG001

Callers 14

left_clickMethod · 0.45
left_click_dragMethod · 0.45
typeMethod · 0.45
keyMethod · 0.45
hold_keyMethod · 0.45
scrollMethod · 0.45
waitMethod · 0.45
left_clickMethod · 0.45
left_click_dragMethod · 0.45
typeMethod · 0.45
keyMethod · 0.45
hold_keyMethod · 0.45

Calls 1

doMethod · 0.95

Tested by

no test coverage detected