tock / ai.tock.bot.definition / BotDefinition / entity

entity

open fun entity(name: String, role: String? = null): Entity (source)

Returns the entity with the specified name and optional role.