world.context_changed
API version 2026-10-affable-towhee
You → Lingara world.context_changed
Your game tells Lingara that the learner's world has changed.
Scopes events:write
Payload
typestringrequireddataWorldContextChangedrequiredscenestringrequirednpcNpc | nulloptionalnamestringrequiredpersonastring | nulloptional
source_langstringrequiredtarget_langstringrequiredlevelintegerrequiredtagsarray of stringoptionalgenerateboolean | nulloptional
Example
{
"type": "world.context_changed",
"data": {
"scene": "A night market in Taipei, just after rain",
"npc": {
"name": "Auntie Lin",
"persona": "a street-food vendor who likes to haggle"
},
"source_lang": "en",
"target_lang": "zh",
"level": 3,
"tags": [
"market",
"food",
"chapter-2"
],
"generate": true
}
}