addPrompts

fun addPrompts(promptsToAdd: List<RegisteredPrompt>)(source)

Registers multiple prompts at once.

Parameters

promptsToAdd

A list of RegisteredPrompt objects representing the prompts to register.

Throws

If the server does not support prompts.