tools.create_character module

S.N.E.S. Character Creation – LLM tool wrapper.

Exposes the game_characters.create_character() function as a callable tool so the LLM can actually persist player characters from within the tool-call pipeline.

# 🎭💀 POSSESSED AVATAR FORGE

async tools.create_character.run(name, description, image_url='', ctx=None)[source]

Create a character and persist it to Redis. # 🎭🔥

Parameters:
  • name (str) – Character name.

  • description (str) – Appearance, personality, backstory.

  • image_url (str) – Optional reference image URL.

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

Return type:

str

Returns:

JSON result with character ID and status.