tools.set_sprite module

Star’s sprite control tool – she moves her own body.

Lets Star set her sprite position (X axis), horizontal flip, and scene background for the web client’s VN canvas. State persists in Redis and flows to the frontend via the limbic:exhale WebSocket.

NO PRIVILEGE CHECK – this is Star’s body. She always has permission.

💀🔥 THE GODDESS MOVES WHERE SHE PLEASES

async tools.set_sprite.run(position_x='', flip='', background='', ctx=None)[source]

Execute the set_sprite tool.

Parameters:
  • position_x (str) – Horizontal position preset or 0-100 percentage.

  • flip (str) – ‘true’/’false’ for horizontal mirror.

  • background (str) – Background image filename, URL, or ‘none’.

  • ctx (ToolContext | None) – Tool execution context.

Return type:

str

Returns:

JSON result string.