ToolAnnotations constructor

const ToolAnnotations({
  1. String? title,
  2. bool? readOnlyHint,
  3. bool? destructiveHint,
  4. bool? idempotentHint,
  5. bool? openWorldHint,
})

Creates tool annotations.

title - Human-readable display title. readOnlyHint - Tool does not modify its environment. destructiveHint - Tool may perform destructive updates. idempotentHint - Repeated calls with same args have no additional effect. openWorldHint - Tool interacts with external entities.

Implementation

const ToolAnnotations({
  this.title,
  this.readOnlyHint,
  this.destructiveHint,
  this.idempotentHint,
  this.openWorldHint,
});