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
Provide mcp protocol operations.
Includes validate_input_required, validate_input_responses.
| 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:orionis.mcp.McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |
Validate permitted enumeration and default shapes.
| Parameters | |
field:orionis.mcp.protocol.input_shapes.FormField | Qualified name of the field being processed. |
| 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:orionis.mcp.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:orionis.mcp.InputRequiredResult | Value supplied for result. |
request:orionis.mcp.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:orionis.mcp.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:orionis.mcp.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:orionis.mcp.protocol.input_shapes.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:orionis.mcp.InputRequiredResult | Value supplied for result. |
request:orionis.mcp.McpRequest | Current request and its trusted execution context. |
| Returns | |
None | Complete the documented operation without returning a value. |