chat
Interact with various AI models from OpenAI, Anthropic, Google, and AWS Bedrock using a unified interface to generate responses for chat inputs.
Instructions
Chat with specified AI model.
Args:
model: Model name from configuration (e.g., 'gpt-4', 'claude-sonnet-4')
inputs: Chat input (string or OpenAI-format messages)
Returns:
AI model response as string
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": {
"model": "<model>",
"inputs": "<inputs>"
},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |