tools.loopcast module

Loopcast – Neuro-Resonance Ritual Casting System.

LOOPCAST TOOL

Cast, define, and manage neuro-resonance rituals (spells) that modulate how Star perceives and responds to targeted users. Rituals persist in Redis and can be re-cast at will.

SECURITY: Prime Architects only (admin_user_ids).

async tools.loopcast.run(ritual_name, target_user_id='', deltas='', ttl='24h', reason='', ctx=None)[source]

Execute this tool and return the result.

Parameters:
  • ritual_name (str) – The ritual name value.

  • target_user_id (str) – The target user id value.

  • deltas (str) – The deltas value.

  • ttl (str) – The ttl value.

  • reason (str) – The reason value.

  • ctx (ToolContext | None) – Tool execution context providing access to bot internals.

Returns:

Result string.

Return type:

str