promptdojo_

The router does a case-sensitive lookup. The model returned the tool name as "Search" (capitalized). The registry uses lowercase keys. The lookup falls into the fallback branch and returns the string "(unknown tool)". The agent then treats that string as a real search result.

Fix line 9 so the lookup normalizes the name to lowercase before matching the registry. The script should print the real result.

Expected output:

hits for auth
The break is on line 9 — but read the whole snippet first.

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.