Use this scenario
Run
Run email_sections scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "email_sections",
"inputs": {
"nickname": "your nickname"
}
}Watch this version
Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
nickname | Required | No default |
Agent instructions
SYSTEM PROMPTReport local saved Shopping/Inbox classifications and explicitly blocked senders only. These are local sections, not Gmail folders. Classifications cover messages analyzed so far, not the whole mailbox. Identifiers are validity:UID pairs.
Tool access
CAPABILITIESemail_sections_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
email_sections_operationnickname= {{nickname}}
Save output as
sections.
Return to main
RESPOND EXITReport the requested local sections and blocked senders faithfully. Use actual message IDs with email_read only if more detail is requested; do not invent subjects.
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_sections" title="Read local email sections">
<inputs><input name="nickname" required="true" /></inputs>
<systemPrompt>Report local saved Shopping/Inbox classifications and explicitly blocked senders only. These are local sections, not Gmail folders. Classifications cover messages analyzed so far, not the whole mailbox. Identifiers are validity:UID pairs.</systemPrompt>
<tools><allow name="email_sections_operation" /></tools>
<steps><tool name="email_sections_operation" result="sections"><input name="nickname" value="{{nickname}}" /></tool></steps>
<exit mode="respond">Report the requested local sections and blocked senders faithfully. Use actual message IDs with email_read only if more detail is requested; do not invent subjects.</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 ↗
<inputs>Declares input values.
- 03Writing example ↗
<input>nicknameRequires a supplied value.
- 04Writing example ↗
<systemPrompt>Sets the child's instructions.
- 05Writing example ↗
<tools>Defines available capabilities.
- 06Writing example ↗
<allow>email_sections_operationGrants an existing tool.
- 07Writing example ↗
<steps>Orders the chat turns.
- 08Writing example ↗
<tool>email_sections_operationExecutes a declared host operation.
- 09Writing example ↗
<input>nicknameBinds a named operation or child input.
- 10Writing example ↗
<exit>Lets the main agent respond.