libs.extensions.anthropic.hyperpocket_anthropic.pocket_anthropic#

Classes#

PocketAnthropic

Module Contents#

class libs.extensions.anthropic.hyperpocket_anthropic.pocket_anthropic.PocketAnthropic#

Bases: hyperpocket.Pocket

invoke(tool_use_block: anthropic.types.ToolUseBlock, **kwargs) anthropic.types.ToolResultBlockParam#
async ainvoke(tool_use_block: anthropic.types.ToolUseBlock, **kwargs) anthropic.types.ToolResultBlockParam#
get_anthropic_tool_specs(use_profile: bool | None = None) List[dict]#
get_anthropic_tool_spec(tool: hyperpocket.tool.Tool) dict#