Skip to main content

Module types

Module types 

Source
Expand description

Core MCP data types for tool, resource, and prompt information.

Structs§

FileParamSchemaEntry
Masked schema entry for a file parameter in a tool’s input schema.
FileUploadResult
Result of uploading a local file to the backend.
McpAppDisclosure
Compact disclosure facts about an MCP resource for app presentation surfaces.
McpClientStatus
Snapshot describing the MCP client at runtime.
McpElicitationRequest
Request payload for handling elicitation prompts from MCP providers.
McpElicitationResponse
Result returned by an elicitation handler after interacting with the user.
McpPromptDetail
Fully rendered MCP prompt ready for use.
McpPromptInfo
Summary of an MCP prompt exposed by a provider.
McpResourceData
Resource contents fetched from an MCP provider.
McpResourceInfo
Summary of an MCP resource exposed by a provider.
McpToolInfo
Information about an MCP tool exposed by a provider.
McpToolVisibility
Tool accessibility between model and app (SEP-1865 _meta.ui.visibility).
McpUiResourceMeta
Declared sandbox posture of an MCP Apps UI resource (SEP-1865 UIResourceMeta).
McpUiToolMeta
Linkage from an MCP tool to its MCP Apps UI resource.
ProvidedFilePayload
Shape of a file payload provided by the client after upload.

Constants§

MCP_APP_DISCLOSURE_KEY
Tool-result key carrying per-URI app disclosure ({uri: McpAppDisclosure}).
MCP_APP_SUPPRESSED_KEY
Tool-result key listing app URIs refused by the off apps tier ([String]).
MCP_UI_EXTENSION_ID
MCP Apps extension identifier (io.modelcontextprotocol/ui).
MCP_UI_RESOURCE_MIME_TYPE
MIME type a ui:// app resource must serve.
MCP_UI_RESOURCE_SCHEME
URI scheme identifying MCP Apps UI resources.
OPENAI_FILE_PARAMS_META_KEY
Metadata key used in tool input schemas to indicate file upload parameters.
OPENAI_FILE_PARAMS_VALUE

Functions§

disclose_app_resource
Derive disclosure facts from a resource read result.
parse_ui_resource_meta
Extract the UI sandbox posture from a resource’s _meta map.