invoke_agent
Chat with an IBM Watson Orchestrate agent by specifying an agent name or ID and a message. Run agent conversations in the background without needing to write scripts.
Instructions
Chat with an agent. Use agent_name (e.g. "TimeWeatherAgent") or agent_id. For "ask TimeWeatherAgent what the exchange rate is CAD/USD" – use agent_name and message. Runs behind the scenes, no script needed.
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": "invoke_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| agent_id | No | ||
| agent_name | No |