detect_intent
Sends user text to a Dialogflow CX agent and returns the reply, matched intent, active page, and extracted parameters; reuse the session ID to maintain conversation context.
Instructions
Send a user message to the Dialogflow CX agent and return the agent's reply, matched intent, active page, and extracted parameters. Pass the returned session_id back on subsequent calls to maintain conversational context.
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": {
"text": "<text>"
},
"name": "detect_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| session_id | No | ||
| language_code | No | en |