AI Compass Tool icon

AI Compass Tool

Fornece contexto, identidade e instruções baseadas em etapas para o Agente de IA.

AI Compass Tool

AI-generated

Summary

Generate a structured prompt providing an AI agent's identity, tone of voice, and task-specific instructions based on a requested step name and a list of defined steps.

Inputs

  • Identidade do Agente (required) — Define the AI agent's character identity (e.g., "You are Manu, the salesperson.") as a multi-line string.
  • Tom de Voz (required) — Define the style or tone of communication for the AI agent (e.g., "Be cheerful and use emojis.").
  • Nome da Etapa Solicitada (Input) (required) — The name of the step the AI agent is querying, usually mapped from a prior input or tool step.
  • Lista de Etapas — A list of named steps each with custom instructions that specify what the agent should do at that step.

Output shape

A single JSON record with fields 'prompt' (a string with the formatted agent instructions), 'step_found' (a boolean indicating if the requested step is in the step list), and 'step_requested' (the requested step name).

If the requested step name matches an entry in the steps list (case-insensitive), the associated instructions are included; otherwise, a generic fallback message is used. The output can include error messages if execution fails and Continue on Fail is enabled.

Examples

Example 1: Providing AI agent guidance for a sales step

Identity set to 'You are Manu, a salesperson.', tone set to 'Friendly and informal.', requested step 'sales', with a 'sales' step defined containing instructions to greet customers warmly and offer promotions.

Discussion