Skip to content

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? ​

optional consequential?: boolean

Defined in: packages/core/src/tool.ts:27

The tool changes state in a way the user should confirm.


destructive? ​

optional destructive?: boolean

Defined in: packages/core/src/tool.ts:29

The tool deletes or irreversibly changes data.


readOnly? ​

optional readOnly?: boolean

Defined in: packages/core/src/tool.ts:25

The tool does not change state.


untrustedContent? ​

optional untrustedContent?: boolean

Defined in: packages/core/src/tool.ts:31

Results contain page or user content (prompt-injection surface).