Expand description
Request handlers for the microsandbox server.
This module implements:
- API endpoint handlers
- Request processing logic
- Response formatting
The module provides:
- Handler functions for API routes
- Request validation and processing
- Response generation and error handling
Functionsยง
- forward_
rpc_ to_ portal - Forwards the JSON-RPC request to the portal service
- health
- Handler for health check
- json_
rpc_ handler - Main JSON-RPC handler that dispatches to the appropriate method
- mcp_
handler - Dedicated MCP handler for Model Context Protocol requests
- proxy_
fallback - Fallback handler for proxy requests
- proxy_
request - Handler for proxy requests
- sandbox_
get_ metrics_ impl - Implementation for sandbox metrics
- sandbox_
start_ impl - Implementation for starting a sandbox
- sandbox_
stop_ impl - Implementation for stopping a sandbox