toolmark-monorepo / @toolmark/core / ToolHints
Interface: ToolHints
Defined in: packages/core/src/tool.ts:23
Behaviour hints. They drive default exposure and confirmation (spec §7): readOnly never confirms; consequential and destructive require confirmation unless the caller is human; untrustedContent marks results that carry page/user content.
Properties
consequential?
optionalconsequential?:boolean
Defined in: packages/core/src/tool.ts:27
The tool changes state in a way the user should confirm.
destructive?
optionaldestructive?:boolean
Defined in: packages/core/src/tool.ts:29
The tool deletes or irreversibly changes data.
readOnly?
optionalreadOnly?:boolean
Defined in: packages/core/src/tool.ts:25
The tool does not change state.
untrustedContent?
optionaluntrustedContent?:boolean
Defined in: packages/core/src/tool.ts:31
Results contain page or user content (prompt-injection surface).