V16 / BUNDLED SCENARIO

Prepare and send an outgoing message

Prepare and send an outgoing message: 1 ordered steps in Lilith V16, using message_send_operation. Read the exact bundled XML and its input and exit contracts.

V16Pinned source · 6df58cd3ed86Exit: copy

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
JSON
{
  "scenario_name": "message_send",
  "inputs": {
    "nickname": "your nickname",
    "room": "your room",
    "text": "your text",
    "reply_to": ""
  }
}
SCENARIO BLUEPRINT

Read the workflow.

message_send4 INPUTS / 1 TOOLS / 1 STEPS
01

Inputs

PARAMETERS
InputRequirementDefault value
nicknameRequiredNo default
roomRequiredNo default
textRequiredNo default
reply_toOptional
02

Agent instructions

SYSTEM PROMPT

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.

03

Tool access

CAPABILITIES
04

Ordered steps

EXECUTION
  1. 01
    BOUND OPERATION / HOST EXECUTED

    message_send_operation

    • nickname = {{nickname}}
    • room = {{room}}
    • text = {{text}}
    • reply_to = {{reply_to}}

    Save output as receipt.

05

Return to main

COPY EXIT

Return 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.

EVERY XML ELEMENT / IN FILE ORDER

Every part, briefly.

Short explanations of every element and chat step in this scenario.

  1. 01
    <scenario>

    Names and versions the workflow.

    Writing example ↗
  2. 02
    <inputs>

    Declares input values.

    Writing example ↗
  3. 03
    <input>nickname

    Requires a supplied value.

    Writing example ↗
  4. 04
    <input>room

    Requires a supplied value.

    Writing example ↗
  5. 05
    <input>text

    Requires a supplied value.

    Writing example ↗
  6. 06
    <input>reply_to

    Provides an optional value.

    Writing example ↗
  7. 07
    <systemPrompt>

    Sets the child's instructions.

    Writing example ↗
  8. 08
    <tools>

    Defines available capabilities.

    Writing example ↗
  9. 09
    <allow>message_send_operation

    Grants an existing tool.

    Writing example ↗
  10. 10
    <steps>

    Orders the chat turns.

    Writing example ↗
  11. 11
    <tool>message_send_operation

    Executes a declared host operation.

    Writing example ↗
  12. 12
    <input>nickname

    Binds a named operation or child input.

    Writing example ↗
  13. 13
    <input>room

    Binds a named operation or child input.

    Writing example ↗
  14. 14
    <input>text

    Binds a named operation or child input.

    Writing example ↗
  15. 15
    <input>reply_to

    Binds a named operation or child input.

    Writing example ↗
  16. 16
    <exit>

    Returns the output unchanged.

    Writing example ↗