watsonx_chat
Send chat messages to IBM watsonx.ai models and get conversational replies, with options to choose model and generation settings.
Instructions
Have a conversation with watsonx.ai chat models
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": {
"messages": "<messages>"
},
"name": "watsonx_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | Array of chat messages | |
| model_id | No | Chat model ID | ibm/granite-3-3-8b-instruct |
| temperature | No | ||
| max_new_tokens | No |