Exercises / python
Tool registry dispatch
call(name, args) looks up TOOLS and returns unknown_tool if missing. add(a,b) and finish(answer) are registered. Call add and a fake name.
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.