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

Method divide

tests/lib/tools/test_functions.py:398–400  ·  view source on GitHub ↗

Divide two numbers.

(a: float, b: float)

Source from the content-addressed store, hash-verified

396
397 @beta_tool()
398 def divide(a: float, b: float) -> str:
399 """Divide two numbers."""
400 return str(a / b)
401
402 assert divide.name == "divide"
403 assert divide.description == "Divide two numbers."

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected