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

A reusable unbound handler plan; payloads never become keyword mappings.

Class _Parameter One compile-time classified argument, with no request references.
Class McpInvoker A reusable unbound handler plan; payloads never become keyword mappings.
Function _classify Assign one trusted source to an argument before accepting requests.
def _classify(parameter: inspect.Parameter, annotation: object, payload_type: object, argument_names: tuple[str, ...], uri_names: tuple[str, ...]) -> _Parameter: (source)

Assign one trusted source to an argument before accepting requests.

Parameters
parameter:inspect.ParameterHandler parameter whose source and positional mode are classified.
annotation:objectNative type annotation to inspect or validate.
payload_type:objectDeclared payload type, or None when the handler has no payload.
argument_names:tuple[str, ...]Named prompt arguments supplied by the protocol.
uri_names:tuple[str, ...]Variables extracted from the resource URI template.
Returns
orionis.mcp.invoker._ParameterImmutable binding plan with its trusted source, value and positional mode.
Raises
TypeErrorIf the annotation is unsupported or refers to an undeclared payload type.