Package-level declarations

Types

Link copied to clipboard

Base64-encoded audio content.

Link copied to clipboard

Binary resource contents encoded as base64.

Link copied to clipboard

Any content block allowed in tool responses.

Link copied to clipboard
Link copied to clipboard
sealed interface ElicitationAction
Link copied to clipboard

Form-based elicitation request parameters.

Link copied to clipboard

Elicitation request parameters.

Link copied to clipboard

Result returned by an elicitation request.

Link copied to clipboard

URL-based elicitation request parameters.

Link copied to clipboard

Embedded resource content block.

Link copied to clipboard

Base64-encoded image content.

Link copied to clipboard
interface InputSchema

JSON Schema definition for tool input parameters.

Link copied to clipboard

JSON Schema property definition.

Link copied to clipboard
interface LooseContentBlock : ContentBlockBase, ReadonlyRecord<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsAny??>

Looser content block shape accepted by many MCP tool implementations.

Link copied to clipboard

ModelContext interface on navigator.modelContext.

Link copied to clipboard

Tool descriptor for the Web Model Context API.

Link copied to clipboard

Registration handle returned by registration methods.

Link copied to clipboard

Resource contents returned by resource reads.

Link copied to clipboard

Link to an externally retrievable resource.

Link copied to clipboard

Plain text content.

Link copied to clipboard

Text resource contents.

Link copied to clipboard
interface ToolAnnotations

Annotations providing hints about tool behavior.

Link copied to clipboard
typealias ToolExecuteCallback = (args: ReadonlyRecord<ERROR CLASS: Symbol not found for JsString, *>) -> PromiseLike<*>

Properties

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

Functions

Link copied to clipboard