ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Undocumented

Function _elicitation Validate the modern form or URL elicitation wire shape.
Function _form_field Validate permitted enumeration and default shapes.
Function _input_request Validate and dispatch one embedded client input request.
Function _input_requests Validate input request fields and the permitted enclosing method.
Function _input_response Dispatch structural InputResponse variants, never a JSON-RPC error.
Function _require Require a capability, including the historical implicit form flag.
Function _sampling Retain deprecated sampling only as correctly validated MRTR wire support.
Function _sampling_message Check each sampling-specific or common content block.
Function validate_input_required Never request client functionality absent from this request's capabilities.
Function validate_input_responses Validate exact result variants without fabricating request history.
def _elicitation(params: dict[str, object], request: McpRequest): (source)

Validate the modern form or URL elicitation wire shape.

Parameters
params:dict[str, object]Parameters decoded for the requested operation.
request:McpRequestCurrent request and its trusted execution context.
Returns
NoneComplete the documented operation without returning a value.
def _form_field(field: FormField): (source)

Validate permitted enumeration and default shapes.

Parameters
field:FormFieldQualified name of the field being processed.
Returns
NoneComplete the documented operation without returning a value.
def _input_request(item: dict[str, object], request: McpRequest): (source)

Validate and dispatch one embedded client input request.

Parameters
item:dict[str, object]Embedded method and parameter object.
request:McpRequestEnclosing request carrying the client's capabilities.
Returns
NoneThe input request and its required capability have been validated.
Raises
ValueErrorIf the input request shape or method is invalid.
def _input_requests(result: InputRequiredResult, request: McpRequest): (source)

Validate input request fields and the permitted enclosing method.

Parameters
result:InputRequiredResultValue supplied for result.
request:McpRequestCurrent request and its trusted execution context.
Returns
NoneComplete the documented operation without returning a value.
def _input_response(value: dict[str, object]): (source)

Dispatch structural InputResponse variants, never a JSON-RPC error.

Parameters
value:dict[str, object]Value to inspect, transform or validate.
Returns
NoneComplete the documented operation without returning a value.
def _require(request: McpRequest, capability: str, feature: str | None = None): (source)

Require a capability, including the historical implicit form flag.

Parameters
request:McpRequestCurrent request and its trusted execution context.
capability:strValue supplied for capability.
feature:str | NoneValue supplied for feature.
Returns
NoneComplete the documented operation without returning a value.
def _sampling(params: dict[str, object], request: McpRequest): (source)

Retain deprecated sampling only as correctly validated MRTR wire support.

Parameters
params:dict[str, object]Parameters decoded for the requested operation.
request:McpRequestCurrent request and its trusted execution context.
Returns
NoneComplete the documented operation without returning a value.
def _sampling_message(message: SamplingMessage): (source)

Check each sampling-specific or common content block.

Parameters
message:SamplingMessageValue supplied for message.
Returns
NoneComplete the documented operation without returning a value.
def validate_input_required(result: InputRequiredResult, request: McpRequest): (source)

Never request client functionality absent from this request's capabilities.

Parameters
result:InputRequiredResultValue supplied for result.
request:McpRequestCurrent request and its trusted execution context.
Returns
NoneComplete the documented operation without returning a value.
def validate_input_responses(responses: Mapping[str, object]): (source)

Validate exact result variants without fabricating request history.

Parameters
responses:Mapping[str, object]Value supplied for responses.
Returns
NoneComplete the documented operation without returning a value.