← All source files

V14 / fad4e1a110e5

message_send.xml

Lilith/Core/Scenarios/Definitions/message_send.xml

Changed in this version
XMLStructureInputsTools / C#StepsExit
<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>