list Prompts
suspend fun listPrompts(request: ListPromptsRequest = ListPromptsRequest(), options: RequestOptions? = null): ListPromptsResult?(source)
Lists all available prompts from the server.
Return
The list of available prompts, or null
if none.
Parameters
request
A request object for listing prompts (usually empty).
options
Optional request options.
Throws
If the server does not support prompts.