Skip to content

vendor_connectors.anthropic.tools

AI framework tools for Anthropic Claude operations.

This module provides tools for Anthropic operations that work with multiple AI agent frameworks.

CreateMessageSchemaPydantic schema for the anthropic_create_message tool.
ListModelsSchemaPydantic schema for the anthropic_list_models tool.
anthropic_create_messageCreate a message using Anthropic Claude.
anthropic_list_modelsList available Anthropic Claude models.
get_langchain_toolsGet all Anthropic tools as LangChain StructuredTools.
get_crewai_toolsGet all Anthropic tools as CrewAI tools.
get_strands_toolsGet all Anthropic tools as plain Python functions for AWS Strands.
get_toolsGet Anthropic tools for the specified or auto-detected framework.
TOOL_DEFINITIONS

class vendor_connectors.anthropic.tools.CreateMessageSchema

Section titled “class vendor_connectors.anthropic.tools.CreateMessageSchema”

Bases: pydantic.BaseModel

Pydantic schema for the anthropic_create_message tool.

‘Field(…)’

‘Field(…)’

‘Field(…)’

‘Field(…)’

class vendor_connectors.anthropic.tools.ListModelsSchema

Section titled “class vendor_connectors.anthropic.tools.ListModelsSchema”

Bases: pydantic.BaseModel

Pydantic schema for the anthropic_list_models tool.

Create a message using Anthropic Claude.

Args: model: Model ID. prompt: User prompt text. max_tokens: Max tokens to generate. system: Optional system prompt.

Returns: Dict with message ID, text, and usage.

List available Anthropic Claude models.

Returns: List of models with ID and display name.

vendor_connectors.anthropic.tools.TOOL_DEFINITIONS

Section titled “vendor_connectors.anthropic.tools.TOOL_DEFINITIONS”

None

Get all Anthropic tools as LangChain StructuredTools.

Get all Anthropic tools as CrewAI tools.

Get all Anthropic tools as plain Python functions for AWS Strands.

Get Anthropic tools for the specified or auto-detected framework.