AI / ML

# Anthropic Connector

Connect to Anthropic for creating messages with Claude models, counting tokens, and listing available models.

$pip install "toolsconnector[anthropic]"
14
Actions
AI / ML
Category
Free
Apache 2.0

## All 14 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`cancel_batch` | Cancel a message batch | batch_id | `AnthropicBatch`
`count_tokens` | Count tokens for a message | model, messages | `TokenCount`
`create_batch ⚠` | Create a message batch | requests | `AnthropicBatch`
`create_message` | Create a message with Claude | model, messages, max_tokens [system, temperature, tools] | `AnthropicMessage`
`delete_file ⚠` | Delete an uploaded file | file_id | `NoneType`
`delete_message_batch ⚠` | Delete a message batch | batch_id | `NoneType`
`get_batch` | Get a message batch by ID | batch_id | `AnthropicBatch`
`get_batch_results` | Get message batch results | batch_id | `list`
`get_file` | Get a file by ID | file_id | `dict`
`get_model` | Get a model by ID | model_id | `AnthropicModel`
`list_batches` | List message batches | [limit] | `list`
`list_files` | List uploaded files | [limit] | `list`
`list_models` | List available Anthropic models | — | `list`
`upload_file ⚠` | Upload a file for use across API calls | content, filename [media_type] | `dict`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing