f84b2f1cef
Adds POST /SmartAssistant/action/executeTool that accepts {tool, params, caseId}
and routes directly to the plugin tool handler via ActionExecutor. This allows
the AI Gateway to call plugin tools (like generate_direct_access_report) without
going through the conversation approval flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
99 lines
2.4 KiB
JSON
99 lines
2.4 KiB
JSON
[
|
|
{
|
|
"route": "/SmartAssistant/action/status",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "status"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/chat",
|
|
"method": "post",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "chat"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/execute",
|
|
"method": "post",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "execute"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/summary",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "summary"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/alerts",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "alerts"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/history",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "history"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/conversations",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "conversations"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/conversationMessages",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "conversationMessages"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/searchHistory",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "searchHistory"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/caseMemory",
|
|
"method": "get",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "caseMemory"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/saveMemory",
|
|
"method": "post",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "saveMemory"
|
|
}
|
|
},
|
|
{
|
|
"route": "/SmartAssistant/action/executeTool",
|
|
"method": "post",
|
|
"params": {
|
|
"controller": "SmartAssistant",
|
|
"action": "executeTool"
|
|
}
|
|
}
|
|
]
|