Use this scenario
Run
Run image_candidates scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "image_candidates",
"inputs": {
"query": "your query",
"count": "5"
}
}Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
query | Required | No default |
count | Optional | 5 |
Agent instructions
SYSTEM PROMPTSearch the public configured public image catalog (NASA by default, Wikimedia Commons optionally) for landscape JPEG/PNG originals at least 1920 by 1080. Return actual candidates and source pages; fewer than requested is honest, no invented images.
Tool access
CAPABILITIESimage_candidates_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
image_candidates_operationquery= {{query}}count= {{count}}
Save output as
images.
Return to main
COPY EXITReturn actual search results unchanged.
The final text returns without model rewriting. Bound operation scenarios return application results; pending changes still require host approval.
Complete XML, including any embedded C#. Copy it without changing the file's contents.
<scenario schemaVersion="3" id="image_candidates" title="Find high-resolution public web images">
<inputs>
<input name="query" required="true" />
<input name="count" default="5" />
</inputs>
<systemPrompt>Search the public configured public image catalog (NASA by default, Wikimedia Commons optionally) for landscape JPEG/PNG originals at least 1920 by 1080. Return actual candidates and source pages; fewer than requested is honest, no invented images.</systemPrompt>
<tools>
<allow name="image_candidates_operation" />
</tools>
<steps>
<tool name="image_candidates_operation" result="images">
<input name="query" value="{{query}}" />
<input name="count" value="{{count}}" />
</tool>
</steps>
<exit mode="copy">Return actual search results unchanged.</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 ↗
<input>countProvides an optional value.
- 05Writing example ↗
<systemPrompt>Sets the child's instructions.
- 06Writing example ↗
<tools>Defines available capabilities.
- 07Writing example ↗
<allow>image_candidates_operationGrants an existing tool.
- 08Writing example ↗
<steps>Orders the chat turns.
- 09Writing example ↗
<tool>image_candidates_operationExecutes a declared host operation.
- 10Writing example ↗
<input>queryBinds a named operation or child input.
- 11Writing example ↗
<input>countBinds a named operation or child input.
- 12Writing example ↗
<exit>Returns the output unchanged.