feat: scenario tools [CW-4597] (#11908)
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
26
config/agents/tools.yml
Normal file
26
config/agents/tools.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
###### Captain Agent Tools Configuration #######
|
||||
# id: Tool identifier used to resolve the class (Captain::Tools::{PascalCase(id)}Tool)
|
||||
# title: Human-readable tool name for frontend display
|
||||
# description: Brief description of what the tool does
|
||||
# icon: Icon name for frontend display (frontend icon system)
|
||||
#######################################################
|
||||
|
||||
- id: add_contact_note
|
||||
title: 'Add Contact Note'
|
||||
description: 'Add a note to a contact profile'
|
||||
icon: 'note-add'
|
||||
|
||||
- id: add_private_note
|
||||
title: 'Add Private Note'
|
||||
description: 'Add a private note to a conversation (internal only)'
|
||||
icon: 'eye-off'
|
||||
|
||||
- id: update_priority
|
||||
title: 'Update Priority'
|
||||
description: 'Update conversation priority level'
|
||||
icon: 'exclamation-triangle'
|
||||
|
||||
- id: add_label_to_conversation
|
||||
title: 'Add Label to Conversation'
|
||||
description: 'Add a label to a conversation'
|
||||
icon: 'tag'
|
||||
@@ -56,6 +56,9 @@ Rails.application.routes.draw do
|
||||
member do
|
||||
post :playground
|
||||
end
|
||||
collection do
|
||||
get :tools
|
||||
end
|
||||
resources :inboxes, only: [:index, :create, :destroy], param: :inbox_id
|
||||
resources :scenarios
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user