Skip to main content
AI characters, voices and images inside a shipped game: characters, settings, limits and usage. 11 operations. How to call them, and what the answers mean: Operations reference.
Generated from the summer-engine npm package 4.8.0: its public operation catalog (registry/operations/public-catalog.json) and its engine and local operations. If something here is wrong, the operation’s definition is wrong.

character_versions

router.character_versions: List an AI character’s versions
Preview: search finds it and summer_call runs it. It may still change.
Every saved version of one Summer Router character, newest first, with when it was saved and if it was deleted. Next: router.get_character with a version. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: The guard character’s history.

delete_character

router.delete_character: Delete an AI character
Preview: search finds it and summer_call runs it. It may still change.
Hide a Summer Router character from players at once; its versions stay and saving it brings it back. Asks the person unless they allow Delete for good. Next: router.list_characters. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Remove the guard character.

get_character

router.get_character: Read an AI character
Preview: search finds it and summer_call runs it. It may still change.
One Summer Router character: its whole document (instructions, model, voice, tools, limits, overridable fields, provider options) and version, or a saved version. Next: router.save_character. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Read the guard character.

list_characters

router.list_characters: List a game’s AI characters
Preview: search finds it and summer_call runs it. It may still change.
A game’s Summer Router characters: id, name, version, model, voice and tools. The game calls one by its id. Next: router.get_character or router.save_character. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Which AI characters does my game have?

models

router.models: List Summer Router models and voices
Preview: search finds it and summer_call runs it. It may still change.
Summer Router’s models, voices, kinds with their GDScript call and status (replies, speech, images now; transcription, live voice soon), character schema, error fixes. Next: router.save_character. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Which models and voices can a character use?

save_character

router.save_character: Save an AI character
Preview: search finds it and summer_call runs it. It may still change.
Save a Summer Router character as its next version; the same document changes nothing. A live game’s players talk to it at once, so there the person approves. Next: router.test_character. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: A guard who opens the gate for the right password.

set_account_limit

router.set_account_limit: Change the Summer Router account cap
Preview: search finds it and summer_call runs it. It may still change.
Ask the person to change the monthly cap for all their games; Summer Router stops calls past it. Always answers needs_approval with a link. Next: jobs.wait. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Cap all my games at 100 dollars a month.

set_settings

router.set_settings: Change Summer Router settings
Preview: search finds it and summer_call runs it. It may still change.
Ask the person to turn Summer Router on or off for a game, or change its caps, call rates or default models (spend from their account). Answers needs_approval with a link. Next: jobs.wait. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Turn on Summer Router for my game.

settings

router.settings: Read Summer Router settings
Preview: search finds it and summer_call runs it. It may still change.
A game’s Summer Router switch, caps (per player per day, per game per day and month, calls per minute), default models and the owner’s cap for all games. Next: router.set_settings. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Is Summer Router on for my game, and what are its caps?

test_character

router.test_character: Talk to an AI character
Preview: search finds it and summer_call runs it. It may still change.
Talk to a Summer Router character as a test player: replies, tool calls, units. toolOutputs answers tool calls like the game; expectTools fails when one is not called. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: Check the guard opens the gate for the password.

usage

router.usage: Read Summer Router usage
Preview: search finds it and summer_call runs it. It may still change.
A game’s Summer Router calls by kind over the last UTC days, units used, each cap’s percent used, and the calls each cap stopped (capHits). Next: router.set_settings to raise a cap. Summer Router works on games published on Summer Games. Coming soon for all platforms and storefronts. Inputs:
Example: How much AI did my game use this week?