Except in this case, it isn't yet smart enough. But I agree, building this capability in is coming, and will be really awesome.
We've only just started training models to use tools. Next, we'll train them to build them. Harness engineering is an ephemeral art.