ToolHints constructor
const
ToolHints({})
Hints that are all false unless given. Asserts that a tool is not both
readOnly and destructive.
Implementation
const ToolHints({
this.readOnly = false,
this.destructive = false,
this.idempotent = false,
this.openWorld = false,
this.title,
}) : assert(
!(readOnly && destructive),
'a tool that changes nothing destroys nothing',
);