unmbt/ciallo-mcp/protocol does not have a README file
fn McpProtocolError::header_mismatch(detail : String, header~ : String, body~ : String) -> McpProtocolErrorfn McpProtocolError::missing_required_client_capability(required_capabilities : Json) -> McpProtocolErrorfn McpProtocolError::unsupported_protocol_version_list(requested? : String, supported? : Array[String]) -> McpProtocolErrorfn McpProtocolError::url_elicitation_required(message : String, elicitations : Array[ElicitUrlParams]) -> McpProtocolErrorfn CallToolResult::CallToolResult(content : Array[ContentBlock], structured_content? : Json, is_error? : Bool, meta? : Map[String, Json]) -> CallToolResultfn CallToolResult::text(text : String, is_error? : Bool, structured_content? : Json) -> CallToolResultfn CallToolResult::to_json_for_era(self : CallToolResult, is_modern~ : Bool, output_schema? : Json) -> Jsonfn CompleteResult::CompleteResult(values : Array[String], total? : Int, has_more? : Bool) -> CompleteResultpub(all) enum ContentBlock {
Text(text~ : String, annotations~ : McpAnnotations?, meta~ : Map[String, Json]?)
Image(data~ : String, mime_type~ : String, annotations~ : McpAnnotations?, meta~ : Map[String, Json]?)
Audio(data~ : String, mime_type~ : String, annotations~ : McpAnnotations?, meta~ : Map[String, Json]?)
ResourceLink(uri~ : String, name~ : String, title~ : String?, description~ : String?, mime_type~ : String?, size~ : Int64?, icons~ : Array[McpIcon], annotations~ : McpAnnotations?, meta~ : Map[String, Json]?)
EmbeddedResource(resource~ : ResourceContents, annotations~ : McpAnnotations?, meta~ : Map[String, Json]?)
} derive(Eq, Debug)fn ContentBlock::audio_bytes(bytes : Bytes, mime_type~ : String, annotations? : McpAnnotations, meta? : Map[String, Json]) -> ContentBlockfn ContentBlock::embedded_resource(resource : ResourceContents, annotations? : McpAnnotations, meta? : Map[String, Json]) -> ContentBlockfn ContentBlock::image_bytes(bytes : Bytes, mime_type~ : String, annotations? : McpAnnotations, meta? : Map[String, Json]) -> ContentBlockfn ContentBlock::resource_link(uri~ : String, name~ : String, title? : String, description? : String, mime_type? : String, size? : Int64, icons? : Array[McpIcon], annotations? : McpAnnotations, meta? : Map[String, Json]) -> ContentBlockfn ContentBlock::text(text : String, annotations? : McpAnnotations, meta? : Map[String, Json]) -> ContentBlockpub(all) struct CreateMessageParams {
messages : Array[SamplingMessage]
max_tokens : Int
system_prompt : String?
model_preferences : ModelPreferences?
temperature : Double?
stop_sequences : Array[String]
include_context : String?
metadata : Json?
tools : Array[Json]
tool_choice : Json?
} derive(Eq, Debug)fn CreateMessageParams::CreateMessageParams(messages~ : Array[SamplingMessage], max_tokens~ : Int, system_prompt? : String, model_preferences? : ModelPreferences, temperature? : Double, stop_sequences? : Array[String], include_context? : String, metadata? : Json, tools? : Array[Json], tool_choice? : Json) -> CreateMessageParamspub(all) struct CreateMessageResult {
role : PromptRole
content : ContentBlock
model : String
stop_reason : String?
} derive(Eq, Debug)fn ElicitFormParams::ElicitFormParams(message~ : String, requested_schema~ : Json) -> ElicitFormParamspub(all) struct ElicitResult {
action : ElicitAction
content : Map[String, Json]?
} derive(Eq, Debug)fn ElicitUrlParams::ElicitUrlParams(message~ : String, elicitation_id~ : String, url~ : String) -> ElicitUrlParamsfn GetPromptResult::GetPromptResult(messages : Array[PromptMessage], description? : String, meta? : Map[String, Json]) -> GetPromptResultpub(all) enum InputRequest {
ElicitForm(ElicitFormParams)
ElicitUrl(message~ : String, url~ : String, elicitation_id~ : String?)
CreateMessage(CreateMessageParams)
ListRoots
} derive(Eq, Debug)fn InputRequest::elicit_url(message~ : String, url~ : String, elicitation_id? : String) -> InputRequestpub(all) struct McpAnnotations {
audience : Array[PromptRole]?
priority : Double?
last_modified : String?
} derive(Eq, Debug)fn McpAnnotations::McpAnnotations(audience? : Array[PromptRole], priority? : Double, last_modified? : String) -> McpAnnotationspub(all) struct McpHttpOptions {
legacy_mode : LegacyHttpMode
response_mode : HttpResponseMode
max_request_body_size : Int64
keep_alive_ms : Int
allowed_origins : Array[String]?
allowed_hosts : Array[String]?
} derive(Eq, Debug)fn McpHttpOptions::McpHttpOptions(legacy_mode? : LegacyHttpMode, response_mode? : HttpResponseMode, max_request_body_size? : Int64, keep_alive_ms? : Int, allowed_origins? : Array[String], allowed_hosts? : Array[String]) -> McpHttpOptionsfn McpImplementation::McpImplementation(name~ : String, version~ : String, title? : String, description? : String, website_url? : String, icons? : Array[McpIcon]) -> McpImplementationfn McpResourceInfo::McpResourceInfo(uri~ : String, name~ : String, title? : String, description? : String, mime_type? : String, size? : Int64, icons? : Array[McpIcon], annotations? : McpAnnotations, meta? : Map[String, Json]) -> McpResourceInfofn McpResourceTemplateInfo::McpResourceTemplateInfo(uri_template~ : String, name~ : String, title? : String, description? : String, mime_type? : String, icons? : Array[McpIcon], annotations? : McpAnnotations, meta? : Map[String, Json]) -> McpResourceTemplateInfopub(all) struct McpTool {
name : String
title : String?
description : String
input_schema : Json
output_schema : Json?
annotations : ToolAnnotations?
icons : Array[McpIcon]
meta : Map[String, Json]?
meth : Method
path : String
param_names : Array[String]
query_names : Array[String]
body_is_wrapped : Bool
body_fields : Array[String]
bearer_auth : Bool
is_streaming : Bool
} derive(Eq, Debug)fn ModelPreferences::ModelPreferences(hints? : Array[ModelHint], cost_priority? : Double, speed_priority? : Double, intelligence_priority? : Double) -> ModelPreferencesfn PromptArgument::PromptArgument(name~ : String, description? : String, required? : Bool) -> PromptArgumentfn ReadResourceResult::ReadResourceResult(contents : Array[ResourceContents], meta? : Map[String, Json]) -> ReadResourceResultpub struct RequestStateCodec {
// private fields
} "v1." b64url({"p":<payload>,"exp":<unixSeconds>,"b":<bindTag>?}) "." b64url(mac)fn RequestStateCodec::RequestStateCodec(key~ : Bytes, ttl_seconds? : Int64, has_bind? : Bool) -> RequestStateCodec raise RequestStateErrorfn RequestStateCodec::from_secret(secret~ : String, ttl_seconds? : Int64, has_bind? : Bool) -> RequestStateCodec raise RequestStateErrorfn RequestStateCodec::mint(self : RequestStateCodec, payload : Json, now_seconds~ : Int64, bind_value? : String) -> String raise RequestStateErrorfn RequestStateCodec::verify(self : RequestStateCodec, state : String, now_seconds~ : Int64, bind_value? : String) -> Json raise RequestStateErrorfn ResourceContents::blob(uri~ : String, blob~ : String, mime_type? : String, meta? : Map[String, Json]) -> ResourceContentsfn ResourceContents::blob_bytes(uri~ : String, bytes~ : Bytes, mime_type? : String, meta? : Map[String, Json]) -> ResourceContentsfn ResourceContents::text(uri~ : String, text~ : String, mime_type? : String, meta? : Map[String, Json]) -> ResourceContentsfn SubscriptionFilter::SubscriptionFilter(tools_list_changed? : Bool, prompts_list_changed? : Bool, resources_list_changed? : Bool, resource_subscriptions? : Array[String]) -> SubscriptionFilterfn ToolAnnotations::ToolAnnotations(title? : String, read_only_hint? : Bool, destructive_hint? : Bool, idempotent_hint? : Bool, open_world_hint? : Bool) -> ToolAnnotationspub struct UriTemplate {
// private fields
}fn decode_mcp_param_value(value : String) -> String?fn encode_mcp_param_value(value : String) -> Stringlet err_header_mismatch : Intlet err_missing_required_client_capability : Intlet err_resource_not_found : Intlet err_unsupported_protocol_version : Intlet first_modern_protocol_version : Stringfn honored_subscription_filter(requested : SubscriptionFilter, capabilities : Json) -> SubscriptionFilterfn http_status_for_modern_error(code : Int, is_ladder : Bool) -> Intfn is_modern_protocol_version(ver : String) -> Boolfn is_rev2026_notification_method(meth : String) -> Boolfn is_rev2026_request_method(meth : String) -> Boolfn is_supported_legacy_version(ver : String) -> Boolfn is_supported_modern_version(ver : String) -> Boollet latest_protocol_version : Stringlet meta_key_protocol_version : Stringlet meta_key_traceparent : Stringfn missing_capabilities_for_input_requests(input_requests : Map[String, InputRequest], declared_opt : Json?) -> Json?fn parse_subscription_filter(params_opt : Map[String, Json]?) -> SubscriptionFilter raise McpProtocolErrorfn strip_http_ows(s : String) -> Stringfn validate_mcp_param_headers(input_schema : Json, args : Map[String, Json], headers : Headers) -> McpProtocolError?fn validate_mcp_param_headers_compiled(compiled : CompiledXMcpHeaders, args : Map[String, Json], headers : Headers) -> McpProtocolError?fn validate_origin_header(origin_header : String?, allowed_origin_hostnames : Array[String]) -> String?fn validate_standard_headers_2026(meth : String, params_opt : Map[String, Json]?, claimed_version : String, headers : Headers) -> McpProtocolError?Install
Download zipZero-extra-code Model Context Protocol (MCP) Server and LLM Function Calling JSON Schema adapter over unmbt/ciallo routes