updateContext

fun updateContext(aiAgentId: String, contextMap: Map<String, String>, handler: AIAgentContextHandler?)

Replace context value with provided key-value pairs in the context of the AI-Agent.

Since

4.28.0

Parameters

aiAgentId

The ID of the AI-Agent.

contextMap

The map containing the context to update.

handler

The handler to receive the result.