{
"queryResult": {
"text": "what is the weather in Mountain View",
"languageCode": "en",
"responseMessages": [
{
"source": "VIRTUAL_AGENT",
"toolCall": {
"tool": "<tool-resource-name>",
"action": "get-weather-tool",
"inputParameters": {
"location": "Mountain View"
}
}
}
]
}
}
"queryResult": {
"text": "how is the weather in Stockholm?",
"languageCode": "en",
"responseMessages": [
{
"source": "VIRTUAL_AGENT",
"toolCall": {
"tool": "projects/geoconxaiservices/locations/eu/agents/2e495876-b080-4755-9f98-9962ab0cc873/tools/a11594cb-50f5-42cf-9eba-06728ee91e92",
"action": "getWeather",
"inputParameters": {
"location": "Stockholm, Sweden",
"unit": "celsius"
}
}
}
],
"queryResult": {
"text": "how is the weather in Stockholm?",
"languageCode": "en",
"responseMessages": [
{}
],
Also having questions about this, I know since it's preview they probably aren't answering these, but just as they made videos explaining how to use the other types of tools (OpenAPI & Data store) it would be nice to have a video explaining how to use the Function Tools 🙂
Videos I'm talking about:
Yeah I think so too. I guess we'll just have to wait until it's not preview anymore. 😀
It seems like you're encountering a discrepancy in behavior between using Playbook and Dialogflow Messenger with Function Tools in Agent Builder. The behavior you described suggests that while Playbook correctly returns the toolCall in the response, Dialogflow Messenger does not.
This could be due to several reasons:
To troubleshoot this issue:
User | Count |
---|---|
10 | |
2 | |
1 | |
1 | |
1 |