The spec of name; null for a tool the toolkit does not have (the assistant answers unknown tool).
name
unknown tool
ToolSpec? spec(String name) { for (final spec in specs) { if (spec.name == name) return spec; } return null; }