Tool.toolAnnotations

Parse the raw annotations Json into a typed ToolAnnotations on demand. The struct stores annotations as untyped Json (so unknown hint keys survive a round-trip); this accessor lazily decodes the known hints via ToolAnnotations.fromJson, returning a default (all-null) ToolAnnotations when annotations is not an object.

struct Tool
const @safe
toolAnnotations
()