MCPcopy Create free account
hub / github.com/Noumena-Network/code / _tool

Function _tool

rust/py_repl_host/assets/kernel.py:103–104  ·  view source on GitHub ↗
(name, args=None)

Source from the content-addressed store, hash-verified

101 active_exec_id = exec_id
102
103 async def _tool(name, args=None):
104 return await _run_tool(exec_id, name, args)
105
106 state_globals["codex"] = SimpleNamespace(tmpDir=TMP_DIR, tool=_tool)
107 state_globals["tmpDir"] = TMP_DIR

Callers

nothing calls this directly

Calls 1

_run_toolFunction · 0.70

Tested by

no test coverage detected