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

Function allow

tests/lib/tools/test_runner_eager_toolsets.py:415–417  ·  view source on GitHub ↗

A `confirm` that approves every call.

(_context: BetaConfirmContext | BetaComputerConfirmContext)

Source from the content-addressed store, hash-verified

413
414
415def allow(_context: BetaConfirmContext | BetaComputerConfirmContext) -> bool:
416 """A `confirm` that approves every call."""
417 return True
418
419
420JS_BROWSER: dict[str, Any] = {"confirm": allow, "configs": {"javascript_exec": {"enabled": True}}}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected