cohere_chat
Chat with Cohere Command models using system prompts and conversation history to enable AI agent interactions in browser automation workflows.
Instructions
Chat with a Cohere Command model. Supports system preamble and conversation history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "cohere_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID (default: command-r-plus) | |
| api_key | No | Cohere API key | |
| message | Yes | User message | |
| preamble | No | System prompt / preamble | |
| max_tokens | No | ||
| temperature | No | ||
| chat_history | No | JSON array of prior messages [{role, message}] |