Skip to main content

Interface: ToolAnnotations

Defined in: packages/client/src/types.ts:31

Hints for the browser's agents, from the WebMCP spec.

Properties​

consequentialHint?​

optional consequentialHint?: boolean

Defined in: packages/client/src/types.ts:37

It does something that matters (orders, sends, deletes): the agent should confirm first.


readOnlyHint?​

optional readOnlyHint?: boolean

Defined in: packages/client/src/types.ts:33

The tool only reads: safe to call without asking.


untrustedContentHint?​

optional untrustedContentHint?: boolean

Defined in: packages/client/src/types.ts:35

Its result may contain text the page doesn't control (reviews, messages).