types.ToolAnnotations
types.ToolAnnotations()
Additional properties describing a Tool to clients.
NOTE: all properties in ToolAnnotations are hints. They are not guaranteed to provide a faithful description of tool behavior (including descriptive properties like title
).
Clients should never make tool use decisions based on ToolAnnotations received from untrusted servers.
Attributes
Name | Description |
---|---|
destructiveHint | If true, the tool may perform destructive updates to its environment. |
idempotentHint | If true, calling the tool repeatedly with the same arguments |
openWorldHint | If true, this tool may interact with an “open world” of external |
readOnlyHint | If true, the tool does not modify its environment. |
title | A human-readable title for the tool. |