  <handler type="action">
    When menu item has: action="#id" → Find prompt with id="id" in current agent XML, execute its content
    When menu item has: action="text" → Execute the text directly as an inline instruction
  </handler>