Use this scenario
Run
Run email_accounts scenario.
Watch this version
Inputs
PARAMETERSThis scenario declares no inputs.
Agent instructions
SYSTEM PROMPTOnly list configured mailbox nicknames returned by the email service. Label source dummy as local test data, not a real mailbox. Do not invent mailboxes or ask for passwords.
Tool access
CAPABILITIESemail_accounts_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
email_accounts_operationSave output as
accounts.
Return to main
RESPOND EXITList the verified available nicknames and label source dummy as local test data. If none exist, explain that account setup happens in the separate email program.
The main agent receives the result and these instructions, then composes the final reply.
Complete XML, including any embedded C#. Copy it without changing the file's contents.
<scenario schemaVersion="3" id="email_accounts" title="Available email nicknames">
<systemPrompt>Only list configured mailbox nicknames returned by the email service. Label source dummy as local test data, not a real mailbox. Do not invent mailboxes or ask for passwords.</systemPrompt>
<tools><allow name="email_accounts_operation" /></tools>
<steps><tool name="email_accounts_operation" result="accounts" /></steps>
<exit mode="respond">List the verified available nicknames and label source dummy as local test data. If none exist, explain that account setup happens in the separate email program.</exit>
</scenario>
Every part, briefly.
Short explanations of every element and chat step in this scenario.
- 01Writing example ↗
<scenario>Names and versions the workflow.
- 02Writing example ↗
<systemPrompt>Sets the child's instructions.
- 03Writing example ↗
<tools>Defines available capabilities.
- 04Writing example ↗
<allow>email_accounts_operationGrants an existing tool.
- 05Writing example ↗
<steps>Orders the chat turns.
- 06Writing example ↗
<tool>email_accounts_operationExecutes a declared host operation.
- 07Writing example ↗
<exit>Lets the main agent respond.