Tool constructor

const Tool({
  1. String? name,
  2. String? description,
  3. List<String>? icons,
  4. Map<String, Object?>? execution,
})

Creates a Tool annotation.

name - Optional custom tool name (defaults to method name). description - Human-readable description of the tool's purpose. icons - Optional list of icon URLs for visual identification. execution - Deprecated, will be implemented in a future version.

Implementation

const Tool({this.name, this.description, this.icons, this.execution});