← Về thư mục
openai4s/mcp_servers/example_server.py
- _safe_eval · function · L99-L111 — def _safe_eval(expr: str) -> float
- ev · function · L100-L109 — def ev(node)
- _call_tool · function · L114-L124 — def _call_tool(name: str, args: dict) -> str
- _send · function · L127-L129 — def _send(obj: dict) -> None
- _handle · function · L132-L242 — def _handle(msg: dict) -> dict | None
- main · function · L245-L257 — def main() -> None