Use this scenario
Run
Run calendar_search scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "calendar_search",
"inputs": {
"query": "your query"
}
}Watch this version
Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
query | Required | No default |
Agent instructions
SYSTEM PROMPTUse the declared calendar operation. Never invent calendar events or claim unapproved writes.
Tool access
CAPABILITIEScalendar_search_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
calendar_search_operationquery= {{query}}
Save output as
calendar.
Return to main
RESPOND EXITList the verified matching events concisely with dates and reminder times. Do not read internal IDs aloud unless requested.
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="calendar_search" title="Calendar search">
<inputs>
<input name="query" required="true" />
</inputs>
<systemPrompt>Use the declared calendar operation. Never invent calendar events or claim unapproved writes.</systemPrompt>
<tools><allow name="calendar_search_operation" /></tools>
<steps>
<tool name="calendar_search_operation" result="calendar">
<input name="query" value="{{query}}" />
</tool>
</steps>
<exit mode="respond">List the verified matching events concisely with dates and reminder times. Do not read internal IDs aloud unless requested.</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>queryRequires a supplied value.
- 04Writing example ↗
<systemPrompt>Sets the child's instructions.
- 05Writing example ↗
<tools>Defines available capabilities.
- 06Writing example ↗
<allow>calendar_search_operationGrants an existing tool.
- 07Writing example ↗
<steps>Orders the chat turns.
- 08Writing example ↗
<tool>calendar_search_operationExecutes a declared host operation.
- 09Writing example ↗
<input>queryBinds a named operation or child input.
- 10Writing example ↗
<exit>Lets the main agent respond.