GameLoop::TurnResult
Query Claude with the player's action Uses Anthropic API with Tool Runner for automatic tool execution. Returns the DM narration plus how many tool calls were made this turn (used for autopilot metrics) and the accumulated token usage (input/output/cache).
Constructors
Instance methods
clone
Sourcecopy_with(text _text = @text, tool_calls _tool_calls = @tool_calls, usage _usage = @usage)
Sourcetext
tool_calls
usage