Restrict a tool (e.g. during plan mode).
void restrict(String name) { _tools[name]?.restricted = true; }