toggle menu
http4k-ai-mcp-sdk
6.16.0.0
jvm
switch theme
search in API
http4k-ai-mcp-sdk
/
org.http4k.ai.mcp.server.capability
/
ServerPrompts
Server
Prompts
class
ServerPrompts
(
bindings
:
Iterable
<
PromptCapability
>
)
:
ObservableList
<
PromptCapability
>
,
Prompts
Members
Constructors
Server
Prompts
Link copied to clipboard
constructor
(
vararg
bindings
:
PromptCapability
)
constructor
(
bindings
:
Iterable
<
PromptCapability
>
)
Properties
items
Link copied to clipboard
var
items
:
Iterable
<
PromptCapability
>
Functions
get
Link copied to clipboard
open
override
fun
get
(
req
:
McpPrompt.Get.Request
,
client
:
Client
,
http
:
Request
)
:
Nothing
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
PromptCapability
>
list
Link copied to clipboard
open
override
fun
list
(
mcp
:
McpPrompt.List.Request
,
client
:
Client
,
http
:
Request
)
:
McpPrompt.List.Response
on
Change
Link copied to clipboard
open
override
fun
onChange
(
session
:
Session
,
handler
:
(
)
->
Any
)
remove
Link copied to clipboard
open
override
fun
remove
(
session
:
Session
)