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

Function async_key

tests/lib/tools/test_runner_eager_toolsets.py:62–65  ·  view source on GitHub ↗

A function tool named like the computer toolset's `key` tool.

(text: str)

Source from the content-addressed store, hash-verified

60
61 @beta_async_tool(name="key")
62 async def async_key(text: str) -> str:
63 """A function tool named like the computer toolset's `key` tool."""
64 ran.append(text)
65 return "the function tool ran"
66
67 key_tool = async_key
68 test = setup([reply(toolset_call("k")), done()], computer={}, extra_tools=[key_tool])

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected