Cria Captain::Tools::GenerateReservationLinkTool que constrói URL pré-preenchida do reserva-1001 com dados coletados em conversa. Registra entrada generate_reservation_link em tools.yml e documenta RESERVA_1001_BASE_URL no .env.example. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
###### 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'
|
|
|
|
- id: faq_lookup
|
|
title: 'FAQ Lookup'
|
|
description: 'Search FAQ responses using semantic similarity'
|
|
icon: 'search'
|
|
|
|
- id: handoff
|
|
title: 'Handoff to Human'
|
|
description: 'Hand off the conversation to a human agent'
|
|
icon: 'user-switch'
|
|
|
|
- id: generate_pix
|
|
title: 'Gerar Pix'
|
|
description: 'Gera uma cobrança Pix via Banco Inter para a reserva ativa da conversa'
|
|
icon: 'payment'
|
|
|
|
- id: check_pix_payment
|
|
title: 'Verificar Pagamento Pix'
|
|
description: 'Consulta no Banco Inter se a cobrança Pix já foi paga'
|
|
icon: 'check-circle'
|
|
|
|
- id: send_suite_images
|
|
title: 'Enviar Fotos de Suíte'
|
|
description: 'Envia fotos da galeria da unidade para o cliente, com filtros por categoria/suíte'
|
|
icon: 'image'
|
|
|
|
- id: create_reservation_intent
|
|
title: 'Criar Reserva'
|
|
description: 'Cria uma reserva draft quando o cliente confirmar suíte, preço e horário de chegada'
|
|
icon: 'calendar-add'
|
|
|
|
- id: generate_reservation_link
|
|
title: 'Gerar Link de Reserva'
|
|
description: 'Gera um link da pagina publica de reserva ja pre-preenchida, pronto para o cliente revisar e pagar'
|
|
icon: 'link'
|