V16 / BUNDLED SCENARIO

Set a local spam sender rule

Set a local spam sender rule: 1 ordered steps in Lilith V16, using email_spam_operation. Read the exact bundled XML and its input and exit contracts.

V16Pinned source · 6df58cd3ed86Exit: copy

Use this scenario

Run

Run email_spam 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": "email_spam",
  "inputs": {
    "nickname": "your nickname",
    "sender": "your sender",
    "blocked": "true"
  }
}
SCENARIO BLUEPRINT

Read the workflow.

email_spam3 INPUTS / 1 TOOLS / 1 STEPS
01

Inputs

PARAMETERS
InputRequirementDefault value
nicknameRequiredNo default
senderRequiredNo default
blockedOptionaltrue
02

Agent instructions

SYSTEM PROMPT

Only propose this rule when the user explicitly asks to mark a sender as Spam or unblock them. Never infer spam from message content. This affects local sections only, never Gmail.

03

Tool access

CAPABILITIES
04

Ordered steps

EXECUTION
  1. 01
    BOUND OPERATION / HOST EXECUTED

    email_spam_operation

    • nickname = {{nickname}}
    • sender = {{sender}}
    • blocked = {{blocked}}

    Save output as proposal.

05

Return to main

COPY EXIT

Return the exact host proposal and confirmation command unchanged.

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>sender

    Requires a supplied value.

    Writing example ↗
  5. 05
    <input>blocked

    Provides an optional value.

    Writing example ↗
  6. 06
    <systemPrompt>

    Sets the child's instructions.

    Writing example ↗
  7. 07
    <tools>

    Defines available capabilities.

    Writing example ↗
  8. 08
    <allow>email_spam_operation

    Grants an existing tool.

    Writing example ↗
  9. 09
    <steps>

    Orders the chat turns.

    Writing example ↗
  10. 10
    <tool>email_spam_operation

    Executes a declared host operation.

    Writing example ↗
  11. 11
    <input>nickname

    Binds a named operation or child input.

    Writing example ↗
  12. 12
    <input>sender

    Binds a named operation or child input.

    Writing example ↗
  13. 13
    <input>blocked

    Binds a named operation or child input.

    Writing example ↗
  14. 14
    <exit>

    Returns the output unchanged.

    Writing example ↗