ModelContext

ModelContext interface on navigator.modelContext.

Types

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Executes a registered tool.

Link copied to clipboard

Clears all context (base + dynamic registrations).

Link copied to clipboard
open fun dispatchEvent(event: Event): Boolean
Link copied to clipboard

Lists currently registered tools.

Link copied to clipboard

Replaces base context with provided tools.

Link copied to clipboard

Registers a dynamic tool with explicitly typed args/result.

Link copied to clipboard
fun unregisterTool(name: ToolName<*>)

Unregisters a dynamic tool by name.

Link copied to clipboard