aide/definitions
Types
pub type Annotations {
Annotations(
audience: option.Option(List(String)),
last_modified: option.Option(String),
priority: option.Option(Float),
)
}
Constructors
-
Annotations( audience: option.Option(List(String)), last_modified: option.Option(String), priority: option.Option(Float), )
pub type AudioContent {
AudioContent(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
data: String,
mime_type: String,
type_: String,
)
}
Constructors
-
AudioContent( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), data: String, mime_type: String, type_: String, )
pub type BaseMetadata {
BaseMetadata(name: String, title: option.Option(String))
}
Constructors
-
BaseMetadata(name: String, title: option.Option(String))
pub type BlobResourceContents {
BlobResourceContents(
meta: option.Option(dict.Dict(String, utils.Any)),
blob: String,
mime_type: option.Option(String),
uri: String,
)
}
Constructors
-
BlobResourceContents( meta: option.Option(dict.Dict(String, utils.Any)), blob: String, mime_type: option.Option(String), uri: String, )
pub type BooleanSchema {
BooleanSchema(
default: option.Option(Bool),
description: option.Option(String),
title: option.Option(String),
type_: String,
)
}
Constructors
-
BooleanSchema( default: option.Option(Bool), description: option.Option(String), title: option.Option(String), type_: String, )
pub type CallToolRequest {
CallToolRequest(
arguments: option.Option(dict.Dict(String, utils.Any)),
name: String,
)
}
Constructors
-
CallToolRequest( arguments: option.Option(dict.Dict(String, utils.Any)), name: String, )
pub type CallToolResult {
CallToolResult(
meta: option.Option(dict.Dict(String, utils.Any)),
content: List(utils.Any),
is_error: option.Option(Bool),
structured_content: option.Option(
dict.Dict(String, utils.Any),
),
)
}
Constructors
-
CallToolResult( meta: option.Option(dict.Dict(String, utils.Any)), content: List(utils.Any), is_error: option.Option(Bool), structured_content: option.Option(dict.Dict(String, utils.Any)), )
pub type CancelledNotification {
CancelledNotification(
reason: option.Option(String),
request_id: utils.Any,
)
}
Constructors
-
CancelledNotification( reason: option.Option(String), request_id: utils.Any, )
pub type ClientCapabilities {
ClientCapabilities(
elicitation: option.Option(dict.Dict(String, utils.Any)),
experimental: option.Option(
dict.Dict(String, dict.Dict(String, utils.Any)),
),
roots: option.Option(Internal4),
sampling: option.Option(dict.Dict(String, utils.Any)),
)
}
Constructors
-
ClientCapabilities( elicitation: option.Option(dict.Dict(String, utils.Any)), experimental: option.Option( dict.Dict(String, dict.Dict(String, utils.Any)), ), roots: option.Option(Internal4), sampling: option.Option(dict.Dict(String, utils.Any)), )
pub type ClientNotification =
utils.Any
pub type ClientRequest =
utils.Any
pub type ClientResult =
utils.Any
pub type CompleteRequest {
CompleteRequest(
argument: Internal7,
context: option.Option(Internal8),
ref: utils.Any,
)
}
Constructors
-
CompleteRequest( argument: Internal7, context: option.Option(Internal8), ref: utils.Any, )
pub type CompleteResult {
CompleteResult(
meta: option.Option(dict.Dict(String, utils.Any)),
completion: Internal12,
)
}
Constructors
-
CompleteResult( meta: option.Option(dict.Dict(String, utils.Any)), completion: Internal12, )
pub type ContentBlock =
utils.Any
pub type CreateMessageRequest {
CreateMessageRequest(
include_context: option.Option(String),
max_tokens: Int,
messages: List(SamplingMessage),
metadata: option.Option(dict.Dict(String, utils.Any)),
model_preferences: option.Option(ModelPreferences),
stop_sequences: option.Option(List(String)),
system_prompt: option.Option(String),
temperature: option.Option(Float),
)
}
Constructors
-
CreateMessageRequest( include_context: option.Option(String), max_tokens: Int, messages: List(SamplingMessage), metadata: option.Option(dict.Dict(String, utils.Any)), model_preferences: option.Option(ModelPreferences), stop_sequences: option.Option(List(String)), system_prompt: option.Option(String), temperature: option.Option(Float), )
pub type CreateMessageResult {
CreateMessageResult(
meta: option.Option(dict.Dict(String, utils.Any)),
content: utils.Any,
model: String,
role: String,
stop_reason: option.Option(String),
)
}
Constructors
-
CreateMessageResult( meta: option.Option(dict.Dict(String, utils.Any)), content: utils.Any, model: String, role: String, stop_reason: option.Option(String), )
pub type ElicitRequest {
ElicitRequest(message: String, requested_schema: Internal13)
}
Constructors
-
ElicitRequest(message: String, requested_schema: Internal13)
pub type ElicitResult {
ElicitResult(
meta: option.Option(dict.Dict(String, utils.Any)),
action: String,
content: option.Option(dict.Dict(String, utils.Any)),
)
}
Constructors
-
ElicitResult( meta: option.Option(dict.Dict(String, utils.Any)), action: String, content: option.Option(dict.Dict(String, utils.Any)), )
pub type EmbeddedResource {
EmbeddedResource(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
resource: utils.Any,
type_: String,
)
}
Constructors
-
EmbeddedResource( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), resource: utils.Any, type_: String, )
pub type EmptyResult =
utils.Never
pub type EnumSchema {
EnumSchema(
description: option.Option(String),
enum: List(String),
enum_names: option.Option(List(String)),
title: option.Option(String),
type_: String,
)
}
Constructors
-
EnumSchema( description: option.Option(String), enum: List(String), enum_names: option.Option(List(String)), title: option.Option(String), type_: String, )
pub type GetPromptRequest {
GetPromptRequest(
arguments: option.Option(dict.Dict(String, String)),
name: String,
)
}
Constructors
-
GetPromptRequest( arguments: option.Option(dict.Dict(String, String)), name: String, )
pub type GetPromptResult {
GetPromptResult(
meta: option.Option(dict.Dict(String, utils.Any)),
description: option.Option(String),
messages: List(PromptMessage),
)
}
Constructors
-
GetPromptResult( meta: option.Option(dict.Dict(String, utils.Any)), description: option.Option(String), messages: List(PromptMessage), )
pub type ImageContent {
ImageContent(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
data: String,
mime_type: String,
type_: String,
)
}
Constructors
-
ImageContent( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), data: String, mime_type: String, type_: String, )
pub type Implementation {
Implementation(
name: String,
title: option.Option(String),
version: String,
)
}
Constructors
-
Implementation( name: String, title: option.Option(String), version: String, )
pub type InitializeRequest {
InitializeRequest(
capabilities: ClientCapabilities,
client_info: Implementation,
protocol_version: String,
)
}
Constructors
-
InitializeRequest( capabilities: ClientCapabilities, client_info: Implementation, protocol_version: String, )
pub type InitializeResult {
InitializeResult(
meta: option.Option(dict.Dict(String, utils.Any)),
capabilities: ServerCapabilities,
instructions: option.Option(String),
protocol_version: String,
server_info: Implementation,
)
}
Constructors
-
InitializeResult( meta: option.Option(dict.Dict(String, utils.Any)), capabilities: ServerCapabilities, instructions: option.Option(String), protocol_version: String, server_info: Implementation, )
pub type InitializedNotification {
InitializedNotification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
InitializedNotification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal0 {
Internal0(
progress_token: option.Option(utils.Any),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal0( progress_token: option.Option(utils.Any), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal1 {
Internal1(
meta: option.Option(Internal0),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal1( meta: option.Option(Internal0), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal10 {
Internal10(
list_changed: option.Option(Bool),
subscribe: option.Option(Bool),
)
}
Constructors
-
Internal10( list_changed: option.Option(Bool), subscribe: option.Option(Bool), )
pub type Internal11 {
Internal11(list_changed: option.Option(Bool))
}
Constructors
-
Internal11(list_changed: option.Option(Bool))
pub type Internal12 {
Internal12(
has_more: option.Option(Bool),
total: option.Option(Int),
values: List(String),
)
}
Constructors
-
Internal12( has_more: option.Option(Bool), total: option.Option(Int), values: List(String), )
pub type Internal13 {
Internal13(
properties: dict.Dict(String, utils.Any),
required: option.Option(List(String)),
type_: String,
)
}
Constructors
-
Internal13( properties: dict.Dict(String, utils.Any), required: option.Option(List(String)), type_: String, )
pub type Internal14 {
Internal14(
code: Int,
data: option.Option(utils.Never),
message: String,
)
}
Constructors
-
Internal14( code: Int, data: option.Option(utils.Never), message: String, )
pub type Internal15 {
Internal15(
progress_token: option.Option(utils.Any),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal15( progress_token: option.Option(utils.Any), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal16 {
Internal16(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal16( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal2 {
Internal2(
progress_token: option.Option(utils.Any),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal2( progress_token: option.Option(utils.Any), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal3 {
Internal3(
progress_token: option.Option(utils.Any),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Internal3( progress_token: option.Option(utils.Any), additional_properties: dict.Dict(String, utils.Any), )
pub type Internal4 {
Internal4(list_changed: option.Option(Bool))
}
Constructors
-
Internal4(list_changed: option.Option(Bool))
pub type Internal5 {
Internal5(
properties: option.Option(
dict.Dict(String, dict.Dict(String, utils.Any)),
),
required: option.Option(List(String)),
type_: String,
)
}
Constructors
-
Internal5( properties: option.Option( dict.Dict(String, dict.Dict(String, utils.Any)), ), required: option.Option(List(String)), type_: String, )
pub type Internal6 {
Internal6(
properties: option.Option(
dict.Dict(String, dict.Dict(String, utils.Any)),
),
required: option.Option(List(String)),
type_: String,
)
}
Constructors
-
Internal6( properties: option.Option( dict.Dict(String, dict.Dict(String, utils.Any)), ), required: option.Option(List(String)), type_: String, )
pub type Internal7 {
Internal7(name: String, value: String)
}
Constructors
-
Internal7(name: String, value: String)
pub type Internal8 {
Internal8(arguments: option.Option(dict.Dict(String, String)))
}
Constructors
-
Internal8(arguments: option.Option(dict.Dict(String, String)))
pub type Internal9 {
Internal9(list_changed: option.Option(Bool))
}
Constructors
-
Internal9(list_changed: option.Option(Bool))
pub type Jsonrpcerror {
Jsonrpcerror(error: Internal14, id: utils.Any, jsonrpc: String)
}
Constructors
-
Jsonrpcerror(error: Internal14, id: utils.Any, jsonrpc: String)
pub type Jsonrpcmessage =
utils.Any
pub type Jsonrpcnotification {
Jsonrpcnotification(
jsonrpc: String,
method_: String,
params: option.Option(Internal16),
)
}
Constructors
-
Jsonrpcnotification( jsonrpc: String, method_: String, params: option.Option(Internal16), )
pub type Jsonrpcrequest {
Jsonrpcrequest(
id: utils.Any,
jsonrpc: String,
method_: String,
params: option.Option(Internal1),
)
}
Constructors
-
Jsonrpcrequest( id: utils.Any, jsonrpc: String, method_: String, params: option.Option(Internal1), )
pub type ListPromptsRequest {
ListPromptsRequest(cursor: option.Option(String))
}
Constructors
-
ListPromptsRequest(cursor: option.Option(String))
pub type ListPromptsResult {
ListPromptsResult(
meta: option.Option(dict.Dict(String, utils.Any)),
next_cursor: option.Option(String),
prompts: List(Prompt),
)
}
Constructors
-
ListPromptsResult( meta: option.Option(dict.Dict(String, utils.Any)), next_cursor: option.Option(String), prompts: List(Prompt), )
pub type ListResourceTemplatesRequest {
ListResourceTemplatesRequest(cursor: option.Option(String))
}
Constructors
-
ListResourceTemplatesRequest(cursor: option.Option(String))
pub type ListResourceTemplatesResult {
ListResourceTemplatesResult(
meta: option.Option(dict.Dict(String, utils.Any)),
next_cursor: option.Option(String),
resource_templates: List(ResourceTemplate),
)
}
Constructors
-
ListResourceTemplatesResult( meta: option.Option(dict.Dict(String, utils.Any)), next_cursor: option.Option(String), resource_templates: List(ResourceTemplate), )
pub type ListResourcesRequest {
ListResourcesRequest(cursor: option.Option(String))
}
Constructors
-
ListResourcesRequest(cursor: option.Option(String))
pub type ListResourcesResult {
ListResourcesResult(
meta: option.Option(dict.Dict(String, utils.Any)),
next_cursor: option.Option(String),
resources: List(Resource),
)
}
Constructors
-
ListResourcesResult( meta: option.Option(dict.Dict(String, utils.Any)), next_cursor: option.Option(String), resources: List(Resource), )
pub type ListRootsRequest {
ListRootsRequest(
meta: option.Option(Internal15),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
ListRootsRequest( meta: option.Option(Internal15), additional_properties: dict.Dict(String, utils.Any), )
pub type ListRootsResult {
ListRootsResult(
meta: option.Option(dict.Dict(String, utils.Any)),
roots: List(Root),
)
}
Constructors
-
ListRootsResult( meta: option.Option(dict.Dict(String, utils.Any)), roots: List(Root), )
pub type ListToolsRequest {
ListToolsRequest(cursor: option.Option(String))
}
Constructors
-
ListToolsRequest(cursor: option.Option(String))
pub type ListToolsResult {
ListToolsResult(
meta: option.Option(dict.Dict(String, utils.Any)),
next_cursor: option.Option(String),
tools: List(Tool),
)
}
Constructors
-
ListToolsResult( meta: option.Option(dict.Dict(String, utils.Any)), next_cursor: option.Option(String), tools: List(Tool), )
pub type LoggingLevel =
String
pub type LoggingMessageNotification {
LoggingMessageNotification(
data: utils.Never,
level: String,
logger: option.Option(String),
)
}
Constructors
-
LoggingMessageNotification( data: utils.Never, level: String, logger: option.Option(String), )
pub type ModelHint {
ModelHint(name: option.Option(String))
}
Constructors
-
ModelHint(name: option.Option(String))
pub type ModelPreferences {
ModelPreferences(
cost_priority: option.Option(Float),
hints: option.Option(List(ModelHint)),
intelligence_priority: option.Option(Float),
speed_priority: option.Option(Float),
)
}
Constructors
-
ModelPreferences( cost_priority: option.Option(Float), hints: option.Option(List(ModelHint)), intelligence_priority: option.Option(Float), speed_priority: option.Option(Float), )
pub type Notification {
Notification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Notification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type NumberSchema {
NumberSchema(
description: option.Option(String),
maximum: option.Option(Int),
minimum: option.Option(Int),
title: option.Option(String),
type_: String,
)
}
Constructors
-
NumberSchema( description: option.Option(String), maximum: option.Option(Int), minimum: option.Option(Int), title: option.Option(String), type_: String, )
pub type PaginatedRequest {
PaginatedRequest(cursor: option.Option(String))
}
Constructors
-
PaginatedRequest(cursor: option.Option(String))
pub type PaginatedResult {
PaginatedResult(
meta: option.Option(dict.Dict(String, utils.Any)),
next_cursor: option.Option(String),
)
}
Constructors
-
PaginatedResult( meta: option.Option(dict.Dict(String, utils.Any)), next_cursor: option.Option(String), )
pub type PingRequest {
PingRequest(
meta: option.Option(Internal2),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
PingRequest( meta: option.Option(Internal2), additional_properties: dict.Dict(String, utils.Any), )
pub type PrimitiveSchemaDefinition =
utils.Any
pub type ProgressNotification {
ProgressNotification(
message: option.Option(String),
progress: Float,
progress_token: utils.Any,
total: option.Option(Float),
)
}
Constructors
-
ProgressNotification( message: option.Option(String), progress: Float, progress_token: utils.Any, total: option.Option(Float), )
pub type ProgressToken =
utils.Any
pub type Prompt {
Prompt(
meta: option.Option(dict.Dict(String, utils.Any)),
arguments: option.Option(List(PromptArgument)),
description: option.Option(String),
name: String,
title: option.Option(String),
)
}
Constructors
-
Prompt( meta: option.Option(dict.Dict(String, utils.Any)), arguments: option.Option(List(PromptArgument)), description: option.Option(String), name: String, title: option.Option(String), )
pub type PromptArgument {
PromptArgument(
description: option.Option(String),
name: String,
required: option.Option(Bool),
title: option.Option(String),
)
}
Constructors
-
PromptArgument( description: option.Option(String), name: String, required: option.Option(Bool), title: option.Option(String), )
pub type PromptListChangedNotification {
PromptListChangedNotification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
PromptListChangedNotification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type PromptReference {
PromptReference(
name: String,
title: option.Option(String),
type_: String,
)
}
Constructors
-
PromptReference( name: String, title: option.Option(String), type_: String, )
pub type ReadResourceRequest {
ReadResourceRequest(uri: String)
}
Constructors
-
ReadResourceRequest(uri: String)
pub type ReadResourceResult {
ReadResourceResult(
meta: option.Option(dict.Dict(String, utils.Any)),
contents: List(utils.Any),
)
}
Constructors
-
ReadResourceResult( meta: option.Option(dict.Dict(String, utils.Any)), contents: List(utils.Any), )
pub type Request {
Request(
meta: option.Option(Internal3),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Request( meta: option.Option(Internal3), additional_properties: dict.Dict(String, utils.Any), )
pub type Resource {
Resource(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
description: option.Option(String),
mime_type: option.Option(String),
name: String,
size: option.Option(Int),
title: option.Option(String),
uri: String,
)
}
Constructors
-
Resource( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), description: option.Option(String), mime_type: option.Option(String), name: String, size: option.Option(Int), title: option.Option(String), uri: String, )
pub type ResourceContents {
ResourceContents(
meta: option.Option(dict.Dict(String, utils.Any)),
mime_type: option.Option(String),
uri: String,
)
}
Constructors
-
ResourceContents( meta: option.Option(dict.Dict(String, utils.Any)), mime_type: option.Option(String), uri: String, )
pub type ResourceLink {
ResourceLink(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
description: option.Option(String),
mime_type: option.Option(String),
name: String,
size: option.Option(Int),
title: option.Option(String),
type_: String,
uri: String,
)
}
Constructors
-
ResourceLink( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), description: option.Option(String), mime_type: option.Option(String), name: String, size: option.Option(Int), title: option.Option(String), type_: String, uri: String, )
pub type ResourceListChangedNotification {
ResourceListChangedNotification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
ResourceListChangedNotification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type ResourceTemplate {
ResourceTemplate(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
description: option.Option(String),
mime_type: option.Option(String),
name: String,
title: option.Option(String),
uri_template: String,
)
}
Constructors
-
ResourceTemplate( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), description: option.Option(String), mime_type: option.Option(String), name: String, title: option.Option(String), uri_template: String, )
pub type ResourceTemplateReference {
ResourceTemplateReference(type_: String, uri: String)
}
Constructors
-
ResourceTemplateReference(type_: String, uri: String)
pub type ResourceUpdatedNotification {
ResourceUpdatedNotification(uri: String)
}
Constructors
-
ResourceUpdatedNotification(uri: String)
pub type Result {
Result(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
Result( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type Root {
Root(
meta: option.Option(dict.Dict(String, utils.Any)),
name: option.Option(String),
uri: String,
)
}
Constructors
-
Root( meta: option.Option(dict.Dict(String, utils.Any)), name: option.Option(String), uri: String, )
pub type RootsListChangedNotification {
RootsListChangedNotification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
RootsListChangedNotification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type ServerCapabilities {
ServerCapabilities(
completions: option.Option(dict.Dict(String, utils.Any)),
experimental: option.Option(
dict.Dict(String, dict.Dict(String, utils.Any)),
),
logging: option.Option(dict.Dict(String, utils.Any)),
prompts: option.Option(Internal9),
resources: option.Option(Internal10),
tools: option.Option(Internal11),
)
}
Constructors
-
ServerCapabilities( completions: option.Option(dict.Dict(String, utils.Any)), experimental: option.Option( dict.Dict(String, dict.Dict(String, utils.Any)), ), logging: option.Option(dict.Dict(String, utils.Any)), prompts: option.Option(Internal9), resources: option.Option(Internal10), tools: option.Option(Internal11), )
pub type ServerNotification =
utils.Any
pub type ServerRequest =
utils.Any
pub type ServerResult =
utils.Any
pub type SetLevelRequest {
SetLevelRequest(level: String)
}
Constructors
-
SetLevelRequest(level: String)
pub type StringSchema {
StringSchema(
description: option.Option(String),
format: option.Option(String),
max_length: option.Option(Int),
min_length: option.Option(Int),
title: option.Option(String),
type_: String,
)
}
Constructors
-
StringSchema( description: option.Option(String), format: option.Option(String), max_length: option.Option(Int), min_length: option.Option(Int), title: option.Option(String), type_: String, )
pub type SubscribeRequest {
SubscribeRequest(uri: String)
}
Constructors
-
SubscribeRequest(uri: String)
pub type TextContent {
TextContent(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(Annotations),
text: String,
type_: String,
)
}
Constructors
-
TextContent( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(Annotations), text: String, type_: String, )
pub type TextResourceContents {
TextResourceContents(
meta: option.Option(dict.Dict(String, utils.Any)),
mime_type: option.Option(String),
text: String,
uri: String,
)
}
Constructors
-
TextResourceContents( meta: option.Option(dict.Dict(String, utils.Any)), mime_type: option.Option(String), text: String, uri: String, )
pub type Tool {
Tool(
meta: option.Option(dict.Dict(String, utils.Any)),
annotations: option.Option(ToolAnnotations),
description: option.Option(String),
input_schema: Internal5,
name: String,
output_schema: option.Option(Internal6),
title: option.Option(String),
)
}
Constructors
-
Tool( meta: option.Option(dict.Dict(String, utils.Any)), annotations: option.Option(ToolAnnotations), description: option.Option(String), input_schema: Internal5, name: String, output_schema: option.Option(Internal6), title: option.Option(String), )
pub type ToolAnnotations {
ToolAnnotations(
destructive_hint: option.Option(Bool),
idempotent_hint: option.Option(Bool),
open_world_hint: option.Option(Bool),
read_only_hint: option.Option(Bool),
title: option.Option(String),
)
}
Constructors
-
ToolAnnotations( destructive_hint: option.Option(Bool), idempotent_hint: option.Option(Bool), open_world_hint: option.Option(Bool), read_only_hint: option.Option(Bool), title: option.Option(String), )
pub type ToolListChangedNotification {
ToolListChangedNotification(
meta: option.Option(dict.Dict(String, utils.Any)),
additional_properties: dict.Dict(String, utils.Any),
)
}
Constructors
-
ToolListChangedNotification( meta: option.Option(dict.Dict(String, utils.Any)), additional_properties: dict.Dict(String, utils.Any), )
pub type UnsubscribeRequest {
UnsubscribeRequest(uri: String)
}
Constructors
-
UnsubscribeRequest(uri: String)
Values
pub fn annotations_decoder() -> decode.Decoder(Annotations)
pub fn annotations_encode(data: Annotations) -> json.Json
pub fn audio_content_decoder() -> decode.Decoder(AudioContent)
pub fn audio_content_encode(data: AudioContent) -> json.Json
pub fn base_metadata_decoder() -> decode.Decoder(BaseMetadata)
pub fn base_metadata_encode(data: BaseMetadata) -> json.Json
pub fn blob_resource_contents_decoder() -> decode.Decoder(
BlobResourceContents,
)
pub fn blob_resource_contents_encode(
data: BlobResourceContents,
) -> json.Json
pub fn boolean_schema_decoder() -> decode.Decoder(BooleanSchema)
pub fn boolean_schema_encode(data: BooleanSchema) -> json.Json
pub fn call_tool_request_decoder() -> decode.Decoder(
CallToolRequest,
)
pub fn call_tool_request_encode(
data: CallToolRequest,
) -> json.Json
pub fn call_tool_result_decoder() -> decode.Decoder(
CallToolResult,
)
pub fn call_tool_result_encode(data: CallToolResult) -> json.Json
pub fn cancelled_notification_decoder() -> decode.Decoder(
CancelledNotification,
)
pub fn cancelled_notification_encode(
data: CancelledNotification,
) -> json.Json
pub fn client_capabilities_decoder() -> decode.Decoder(
ClientCapabilities,
)
pub fn client_capabilities_encode(
data: ClientCapabilities,
) -> json.Json
pub fn client_notification_decoder() -> decode.Decoder(utils.Any)
pub fn client_request_decoder() -> decode.Decoder(utils.Any)
pub fn client_result_decoder() -> decode.Decoder(utils.Any)
pub fn complete_request_decoder() -> decode.Decoder(
CompleteRequest,
)
pub fn complete_request_encode(
data: CompleteRequest,
) -> json.Json
pub fn complete_result_decoder() -> decode.Decoder(CompleteResult)
pub fn complete_result_encode(data: CompleteResult) -> json.Json
pub fn content_block_decoder() -> decode.Decoder(utils.Any)
pub fn create_message_request_decoder() -> decode.Decoder(
CreateMessageRequest,
)
pub fn create_message_request_encode(
data: CreateMessageRequest,
) -> json.Json
pub fn create_message_result_decoder() -> decode.Decoder(
CreateMessageResult,
)
pub fn create_message_result_encode(
data: CreateMessageResult,
) -> json.Json
pub fn cursor_decoder() -> decode.Decoder(String)
pub fn cursor_encode(data: String) -> json.Json
pub fn elicit_request_decoder() -> decode.Decoder(ElicitRequest)
pub fn elicit_request_encode(data: ElicitRequest) -> json.Json
pub fn elicit_result_decoder() -> decode.Decoder(ElicitResult)
pub fn elicit_result_encode(data: ElicitResult) -> json.Json
pub fn embedded_resource_decoder() -> decode.Decoder(
EmbeddedResource,
)
pub fn embedded_resource_encode(
data: EmbeddedResource,
) -> json.Json
pub fn empty_result_decoder() -> decode.Decoder(a)
pub fn empty_result_encode(data: utils.Never) -> a
pub fn enum_schema_decoder() -> decode.Decoder(EnumSchema)
pub fn enum_schema_encode(data: EnumSchema) -> json.Json
pub fn get_prompt_request_decoder() -> decode.Decoder(
GetPromptRequest,
)
pub fn get_prompt_request_encode(
data: GetPromptRequest,
) -> json.Json
pub fn get_prompt_result_decoder() -> decode.Decoder(
GetPromptResult,
)
pub fn get_prompt_result_encode(
data: GetPromptResult,
) -> json.Json
pub fn image_content_decoder() -> decode.Decoder(ImageContent)
pub fn image_content_encode(data: ImageContent) -> json.Json
pub fn implementation_decoder() -> decode.Decoder(Implementation)
pub fn implementation_encode(data: Implementation) -> json.Json
pub fn initialize_request_decoder() -> decode.Decoder(
InitializeRequest,
)
pub fn initialize_request_encode(
data: InitializeRequest,
) -> json.Json
pub fn initialize_result_decoder() -> decode.Decoder(
InitializeResult,
)
pub fn initialize_result_encode(
data: InitializeResult,
) -> json.Json
pub fn initialized_notification_decoder() -> decode.Decoder(
InitializedNotification,
)
pub fn initialized_notification_encode(
data: InitializedNotification,
) -> json.Json
pub fn internal_0_decoder() -> decode.Decoder(Internal0)
pub fn internal_10_decoder() -> decode.Decoder(Internal10)
pub fn internal_10_encode(data: Internal10) -> json.Json
pub fn internal_11_decoder() -> decode.Decoder(Internal11)
pub fn internal_11_encode(data: Internal11) -> json.Json
pub fn internal_12_decoder() -> decode.Decoder(Internal12)
pub fn internal_12_encode(data: Internal12) -> json.Json
pub fn internal_13_decoder() -> decode.Decoder(Internal13)
pub fn internal_13_encode(data: Internal13) -> json.Json
pub fn internal_14_decoder() -> decode.Decoder(Internal14)
pub fn internal_14_encode(data: Internal14) -> json.Json
pub fn internal_15_decoder() -> decode.Decoder(Internal15)
pub fn internal_15_encode(data: Internal15) -> json.Json
pub fn internal_16_decoder() -> decode.Decoder(Internal16)
pub fn internal_16_encode(data: Internal16) -> json.Json
pub fn internal_1_decoder() -> decode.Decoder(Internal1)
pub fn internal_2_decoder() -> decode.Decoder(Internal2)
pub fn internal_3_decoder() -> decode.Decoder(Internal3)
pub fn internal_4_decoder() -> decode.Decoder(Internal4)
pub fn internal_5_decoder() -> decode.Decoder(Internal5)
pub fn internal_6_decoder() -> decode.Decoder(Internal6)
pub fn internal_7_decoder() -> decode.Decoder(Internal7)
pub fn internal_8_decoder() -> decode.Decoder(Internal8)
pub fn internal_9_decoder() -> decode.Decoder(Internal9)
pub fn jsonrpcerror_decoder() -> decode.Decoder(Jsonrpcerror)
pub fn jsonrpcerror_encode(data: Jsonrpcerror) -> json.Json
pub fn jsonrpcmessage_decoder() -> decode.Decoder(utils.Any)
pub fn jsonrpcnotification_decoder() -> decode.Decoder(
Jsonrpcnotification,
)
pub fn jsonrpcnotification_encode(
data: Jsonrpcnotification,
) -> json.Json
pub fn jsonrpcrequest_decoder() -> decode.Decoder(Jsonrpcrequest)
pub fn jsonrpcrequest_encode(data: Jsonrpcrequest) -> json.Json
pub fn jsonrpcresponse_decoder() -> decode.Decoder(
Jsonrpcresponse,
)
pub fn jsonrpcresponse_encode(data: Jsonrpcresponse) -> json.Json
pub fn list_prompts_request_decoder() -> decode.Decoder(
ListPromptsRequest,
)
pub fn list_prompts_request_encode(
data: ListPromptsRequest,
) -> json.Json
pub fn list_prompts_result_decoder() -> decode.Decoder(
ListPromptsResult,
)
pub fn list_prompts_result_encode(
data: ListPromptsResult,
) -> json.Json
pub fn list_resource_templates_request_decoder() -> decode.Decoder(
ListResourceTemplatesRequest,
)
pub fn list_resource_templates_request_encode(
data: ListResourceTemplatesRequest,
) -> json.Json
pub fn list_resource_templates_result_decoder() -> decode.Decoder(
ListResourceTemplatesResult,
)
pub fn list_resource_templates_result_encode(
data: ListResourceTemplatesResult,
) -> json.Json
pub fn list_resources_request_decoder() -> decode.Decoder(
ListResourcesRequest,
)
pub fn list_resources_request_encode(
data: ListResourcesRequest,
) -> json.Json
pub fn list_resources_result_decoder() -> decode.Decoder(
ListResourcesResult,
)
pub fn list_resources_result_encode(
data: ListResourcesResult,
) -> json.Json
pub fn list_roots_request_decoder() -> decode.Decoder(
ListRootsRequest,
)
pub fn list_roots_request_encode(
data: ListRootsRequest,
) -> json.Json
pub fn list_roots_result_decoder() -> decode.Decoder(
ListRootsResult,
)
pub fn list_roots_result_encode(
data: ListRootsResult,
) -> json.Json
pub fn list_tools_request_decoder() -> decode.Decoder(
ListToolsRequest,
)
pub fn list_tools_request_encode(
data: ListToolsRequest,
) -> json.Json
pub fn list_tools_result_decoder() -> decode.Decoder(
ListToolsResult,
)
pub fn list_tools_result_encode(
data: ListToolsResult,
) -> json.Json
pub fn logging_level_decoder() -> decode.Decoder(String)
pub fn logging_level_encode(data: String) -> json.Json
pub fn logging_message_notification_decoder() -> decode.Decoder(
LoggingMessageNotification,
)
pub fn logging_message_notification_encode(
data: LoggingMessageNotification,
) -> json.Json
pub fn model_hint_decoder() -> decode.Decoder(ModelHint)
pub fn model_preferences_decoder() -> decode.Decoder(
ModelPreferences,
)
pub fn model_preferences_encode(
data: ModelPreferences,
) -> json.Json
pub fn notification_decoder() -> decode.Decoder(Notification)
pub fn notification_encode(data: Notification) -> json.Json
pub fn number_schema_decoder() -> decode.Decoder(NumberSchema)
pub fn number_schema_encode(data: NumberSchema) -> json.Json
pub fn paginated_request_decoder() -> decode.Decoder(
PaginatedRequest,
)
pub fn paginated_request_encode(
data: PaginatedRequest,
) -> json.Json
pub fn paginated_result_decoder() -> decode.Decoder(
PaginatedResult,
)
pub fn paginated_result_encode(
data: PaginatedResult,
) -> json.Json
pub fn ping_request_decoder() -> decode.Decoder(PingRequest)
pub fn ping_request_encode(data: PingRequest) -> json.Json
pub fn primitive_schema_definition_decoder() -> decode.Decoder(
utils.Any,
)
pub fn progress_notification_decoder() -> decode.Decoder(
ProgressNotification,
)
pub fn progress_notification_encode(
data: ProgressNotification,
) -> json.Json
pub fn progress_token_decoder() -> decode.Decoder(utils.Any)
pub fn prompt_argument_decoder() -> decode.Decoder(PromptArgument)
pub fn prompt_argument_encode(data: PromptArgument) -> json.Json
pub fn prompt_decoder() -> decode.Decoder(Prompt)
pub fn prompt_list_changed_notification_decoder() -> decode.Decoder(
PromptListChangedNotification,
)
pub fn prompt_list_changed_notification_encode(
data: PromptListChangedNotification,
) -> json.Json
pub fn prompt_message_decoder() -> decode.Decoder(PromptMessage)
pub fn prompt_message_encode(data: PromptMessage) -> json.Json
pub fn prompt_reference_decoder() -> decode.Decoder(
PromptReference,
)
pub fn prompt_reference_encode(
data: PromptReference,
) -> json.Json
pub fn read_resource_request_decoder() -> decode.Decoder(
ReadResourceRequest,
)
pub fn read_resource_request_encode(
data: ReadResourceRequest,
) -> json.Json
pub fn read_resource_result_decoder() -> decode.Decoder(
ReadResourceResult,
)
pub fn read_resource_result_encode(
data: ReadResourceResult,
) -> json.Json
pub fn request_decoder() -> decode.Decoder(Request)
pub fn request_id_decoder() -> decode.Decoder(utils.Any)
pub fn resource_contents_decoder() -> decode.Decoder(
ResourceContents,
)
pub fn resource_contents_encode(
data: ResourceContents,
) -> json.Json
pub fn resource_decoder() -> decode.Decoder(Resource)
pub fn resource_link_decoder() -> decode.Decoder(ResourceLink)
pub fn resource_link_encode(data: ResourceLink) -> json.Json
pub fn resource_list_changed_notification_decoder() -> decode.Decoder(
ResourceListChangedNotification,
)
pub fn resource_list_changed_notification_encode(
data: ResourceListChangedNotification,
) -> json.Json
pub fn resource_template_decoder() -> decode.Decoder(
ResourceTemplate,
)
pub fn resource_template_encode(
data: ResourceTemplate,
) -> json.Json
pub fn resource_template_reference_decoder() -> decode.Decoder(
ResourceTemplateReference,
)
pub fn resource_template_reference_encode(
data: ResourceTemplateReference,
) -> json.Json
pub fn resource_updated_notification_decoder() -> decode.Decoder(
ResourceUpdatedNotification,
)
pub fn resource_updated_notification_encode(
data: ResourceUpdatedNotification,
) -> json.Json
pub fn result_decoder() -> decode.Decoder(Result)
pub fn role_decoder() -> decode.Decoder(String)
pub fn role_encode(data: String) -> json.Json
pub fn root_decoder() -> decode.Decoder(Root)
pub fn roots_list_changed_notification_decoder() -> decode.Decoder(
RootsListChangedNotification,
)
pub fn roots_list_changed_notification_encode(
data: RootsListChangedNotification,
) -> json.Json
pub fn sampling_message_decoder() -> decode.Decoder(
SamplingMessage,
)
pub fn sampling_message_encode(
data: SamplingMessage,
) -> json.Json
pub fn server_capabilities_decoder() -> decode.Decoder(
ServerCapabilities,
)
pub fn server_capabilities_encode(
data: ServerCapabilities,
) -> json.Json
pub fn server_notification_decoder() -> decode.Decoder(utils.Any)
pub fn server_request_decoder() -> decode.Decoder(utils.Any)
pub fn server_result_decoder() -> decode.Decoder(utils.Any)
pub fn set_level_request_decoder() -> decode.Decoder(
SetLevelRequest,
)
pub fn set_level_request_encode(
data: SetLevelRequest,
) -> json.Json
pub fn string_schema_decoder() -> decode.Decoder(StringSchema)
pub fn string_schema_encode(data: StringSchema) -> json.Json
pub fn subscribe_request_decoder() -> decode.Decoder(
SubscribeRequest,
)
pub fn subscribe_request_encode(
data: SubscribeRequest,
) -> json.Json
pub fn text_content_decoder() -> decode.Decoder(TextContent)
pub fn text_content_encode(data: TextContent) -> json.Json
pub fn text_resource_contents_decoder() -> decode.Decoder(
TextResourceContents,
)
pub fn text_resource_contents_encode(
data: TextResourceContents,
) -> json.Json
pub fn tool_annotations_decoder() -> decode.Decoder(
ToolAnnotations,
)
pub fn tool_annotations_encode(
data: ToolAnnotations,
) -> json.Json
pub fn tool_decoder() -> decode.Decoder(Tool)
pub fn tool_list_changed_notification_decoder() -> decode.Decoder(
ToolListChangedNotification,
)
pub fn tool_list_changed_notification_encode(
data: ToolListChangedNotification,
) -> json.Json
pub fn unsubscribe_request_decoder() -> decode.Decoder(
UnsubscribeRequest,
)
pub fn unsubscribe_request_encode(
data: UnsubscribeRequest,
) -> json.Json