Use this scenario
Run
Run message_send scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "message_send",
"inputs": {
"nickname": "your nickname",
"room": "your room",
"text": "your text",
"reply_to": ""
}
}Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
nickname | Required | No default |
room | Required | No default |
text | Required | No default |
reply_to | Optional | |
Agent instructions
SYSTEM PROMPTPrepare exactly the destination and text supplied by the local user or trusted reply workflow. Never select another recipient or add content. The host enforces boot-fixed Ask/YOLO and exact pending approvals; a scenario cannot approve itself.
Tool access
CAPABILITIESmessage_send_operation— selected from this version's tool catalog.
Ordered steps
EXECUTION- 01BOUND OPERATION / HOST EXECUTED
message_send_operationnickname= {{nickname}}room= {{room}}text= {{text}}reply_to= {{reply_to}}
Save output as
receipt.
Return to main
COPY EXITReturn the exact host receipt; never claim external delivery for a dummy channel.
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="message_send" title="Prepare and send an outgoing message">
<inputs><input name="nickname" required="true" /><input name="room" required="true" /><input name="text" required="true" /><input name="reply_to" default="" /></inputs>
<systemPrompt>Prepare exactly the destination and text supplied by the local user or trusted reply workflow. Never select another recipient or add content. The host enforces boot-fixed Ask/YOLO and exact pending approvals; a scenario cannot approve itself.</systemPrompt>
<tools><allow name="message_send_operation" /></tools>
<steps><tool name="message_send_operation" result="receipt"><input name="nickname" value="{{nickname}}" /><input name="room" value="{{room}}" /><input name="text" value="{{text}}" /><input name="reply_to" value="{{reply_to}}" /></tool></steps>
<exit mode="copy">Return the exact host receipt; never claim external delivery for a dummy channel.</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 ↗
<input>roomRequires a supplied value.
- 05Writing example ↗
<input>textRequires a supplied value.
- 06Writing example ↗
<input>reply_toProvides an optional value.
- 07Writing example ↗
<systemPrompt>Sets the child's instructions.
- 08Writing example ↗
<tools>Defines available capabilities.
- 09Writing example ↗
<allow>message_send_operationGrants an existing tool.
- 10Writing example ↗
<steps>Orders the chat turns.
- 11Writing example ↗
<tool>message_send_operationExecutes a declared host operation.
- 12Writing example ↗
<input>nicknameBinds a named operation or child input.
- 13Writing example ↗
<input>roomBinds a named operation or child input.
- 14Writing example ↗
<input>textBinds a named operation or child input.
- 15Writing example ↗
<input>reply_toBinds a named operation or child input.
- 16Writing example ↗
<exit>Returns the output unchanged.