Anthropic integration (AI). Imported from open-connector.
https://api.anthropic.com/v1/models
| Param | Type | Required | Description |
|---|---|---|---|
| before_id | string | optional | Returns models before this model identifier. |
| after_id | string | optional | Returns models after this model identifier. |
| limit | integer | optional | The maximum number of models to return. |
/v1/models/{model_id}
| Param | Type | Required | Description |
|---|---|---|---|
| model_id | string | required | The exact Anthropic model identifier to retrieve. |
/v1/messages
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | The Anthropic model identifier to use. |
| max_tokens | integer | required | The maximum number of tokens to generate. |
| messages | array | required | The ordered conversation history sent to the model. |
| system | string | optional | System prompt content. |
| metadata | object | optional | Metadata about the request. |
| stop_sequences | array | optional | Custom text sequences that stop generation. |
| stream | boolean | optional | Whether to request a streaming response. This connector only accepts false or a… |
| temperature | number | optional | The sampling temperature. |
| thinking | object | optional | A JSON object passed through to the Anthropic API. |
| tool_choice | string | optional | Tool selection strategy for the request. |
| tools | array | optional | Tools available to the model. |
| top_k | integer | optional | Only sample from the top K options for each token. |
| top_p | number | optional | The nucleus sampling threshold. |
/v1/messages/count_tokens
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | The Anthropic model identifier to use. |
| messages | array | required | The ordered conversation history to count. |
| system | string | optional | System prompt content. |
| thinking | object | optional | A JSON object passed through to the Anthropic API. |
| tool_choice | string | optional | Tool selection strategy for the request. |
| tools | array | optional | Tools available to the model. |