Skip to content

toolmark-monorepo / @toolmark/core/webmcp / WebMcpToolAnnotations

Interface: WebMcpToolAnnotations ​

Defined in: packages/core/src/webmcp/model-context.ts:10

Experimental

Behaviour annotations a WebMCP tool carries (the subset Toolmark maps its hints to). WebMCP is an origin-trial API; this adapter is outside semver (D28).

Properties ​

consequentialHint? ​

optional consequentialHint?: boolean

Defined in: packages/core/src/webmcp/model-context.ts:14

Experimental

Running the tool has significant, real-world or non-reversible effects.


readOnlyHint? ​

optional readOnlyHint?: boolean

Defined in: packages/core/src/webmcp/model-context.ts:12

Experimental

The tool only reads data.


untrustedContentHint? ​

optional untrustedContentHint?: boolean

Defined in: packages/core/src/webmcp/model-context.ts:16

Experimental

The tool's results may contain untrusted (page or user) content.