Extraire le nom d'outil d'une réponse JSON embarquée.
Runs locally via Pyodide — no code is sent to the server until you submit.