Use this scenario
Run
Run project_restore scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "project_restore",
"inputs": {
"name": "your name",
"backup_id": "your backup id"
}
}Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
name | Required | No default |
backup_id | Required | No default |
Agent instructions
SYSTEM PROMPTPrepare a private source restoration and executable test plan. Execution and publication both require separate host decisions.
Tool access
CAPABILITIESproject_restore_prepare_operation— selected from this version's tool catalog.project_set_tests_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
project_restore_prepare_operationname= {{name}}backup_id= {{backup_id}}
Save output as
draft. - 02
Return to main
COPY EXITReturn the private restoration draft and separate execution command unchanged. Original files remain unchanged until testing and exact publication approval.
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="project_restore" title="Prepare a tested restoration of managed project source">
<inputs><input name="name" required="true" /><input name="backup_id" required="true" /></inputs>
<systemPrompt>Prepare a private source restoration and executable test plan. Execution and publication both require separate host decisions.</systemPrompt>
<tools><allow name="project_restore_prepare_operation" /><allow name="project_set_tests_operation" /></tools>
<steps>
<tool name="project_restore_prepare_operation" result="draft"><input name="name" value="{{name}}" /><input name="backup_id" value="{{backup_id}}" /></tool>
<run scenario="project_plan_tests" result="receipt"><input name="id" value="{{draft.id}}" /></run>
</steps>
<exit mode="copy">Return the private restoration draft and separate execution command unchanged. Original files remain unchanged until testing and exact publication approval.</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>nameRequires a supplied value.
- 04Writing example ↗
<input>backup_idRequires a supplied value.
- 05Writing example ↗
<systemPrompt>Sets the child's instructions.
- 06Writing example ↗
<tools>Defines available capabilities.
- 07Writing example ↗
<allow>project_restore_prepare_operationGrants an existing tool.
- 08Writing example ↗
<allow>project_set_tests_operationGrants an existing tool.
- 09Writing example ↗
<steps>Orders the chat turns.
- 10Writing example ↗
<tool>project_restore_prepare_operationExecutes a declared host operation.
- 11Writing example ↗
<input>nameBinds a named operation or child input.
- 12Writing example ↗
<input>backup_idBinds a named operation or child input.
- 13Writing example ↗
<run>Invokes a fresh saved child scenario.
- 14Writing example ↗
<input>idBinds a named operation or child input.
- 15Writing example ↗
<exit>Returns the output unchanged.