addPrompt

open override fun addPrompt(promptSpec: Any): <Error class: unknown class><Void>

Adds a prompt specification to the sync server.

Return

a Mono signaling completion

Parameters

promptSpec

the prompt specification to add; must be McpServerFeatures.SyncPromptSpecification

Throws

if the specification type is incorrect