GetMcpServerToolAnnotation constructor
const
GetMcpServerToolAnnotation({})
Creates a new GetMcpServerToolAnnotation.
destructiveHint If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates.
idempotentHint If true, calling the tool repeatedly with the same arguments will have no additional effect on the its environment.
openWorldHint If true, this tool may interact with an “open world” of external entities. If false, the tool’s domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not
readOnlyHint If true, the tool does not modify its environment.
title A human-readable title for the tool.
Implementation
const GetMcpServerToolAnnotation({
required this.destructiveHint,
required this.idempotentHint,
required this.openWorldHint,
required this.readOnlyHint,
required this.title,
});