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 |
Validate permitted enumeration and default shapes. |
| Function | _input |
Validate and dispatch one embedded client input request. |
| Function | _input |
Validate input request fields and the permitted enclosing method. |
| Function | _input |
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 |
Check each sampling-specific or common content block. |
| Function | validate |
Never request client functionality absent from this request's capabilities. |
| Function | validate |
Validate exact result variants without fabricating request history. |
Validate the modern form or URL elicitation wire shape.
| Parameters | |
params:dict[str, object] | Parameters decoded for the requested operation. |
request:McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |
Validate and dispatch one embedded client input request.
| Parameters | |
item:dict[str, object] | Embedded method and parameter object. |
request:McpRequest | Enclosing request carrying the client's capabilities. |
| Returns | |
None | The input request and its required capability have been validated. |
| Raises | |
ValueError | If the input request shape or method is invalid. |
Validate input request fields and the permitted enclosing method.
| Parameters | |
result:InputRequiredResult | Value supplied for result. |
request:McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |
Require a capability, including the historical implicit form flag.
| Parameters | |
request:McpRequest | Current request and its trusted execution context. |
capability:str | Value supplied for capability. |
feature:str | None | Value supplied for feature. |
| Returns | |
None | Complete the documented operation without returning a value. |
Retain deprecated sampling only as correctly validated MRTR wire support.
| Parameters | |
params:dict[str, object] | Parameters decoded for the requested operation. |
request:McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |
Check each sampling-specific or common content block.
| Parameters | |
message:SamplingMessage | Value supplied for message. |
| Returns | |
None | Complete the documented operation without returning a value. |
Never request client functionality absent from this request's capabilities.
| Parameters | |
result:InputRequiredResult | Value supplied for result. |
request:McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |