McpToolAnnotations

data class McpToolAnnotations(val title: String? = null, val readOnlyHint: Boolean? = null, val destructiveHint: Boolean? = null, val idempotentHint: Boolean? = null, val openWorldHint: Boolean? = null)(source)

Hints a server gives about a tool (ToolAnnotations). They are untrusted unless the server is: use them for defaults (e.g. skip the confirmation for read-only tools), never as a security boundary.

Constructors

Link copied to clipboard
constructor(title: String? = null, readOnlyHint: Boolean? = null, destructiveHint: Boolean? = null, idempotentHint: Boolean? = null, openWorldHint: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard