Expand description
Core MCP data types for tool, resource, and prompt information.
Structs§
- File
Param Schema Entry - Masked schema entry for a file parameter in a tool’s input schema.
- File
Upload Result - Result of uploading a local file to the backend.
- McpApp
Disclosure - Compact disclosure facts about an MCP resource for app presentation surfaces.
- McpClient
Status - Snapshot describing the MCP client at runtime.
- McpElicitation
Request - Request payload for handling elicitation prompts from MCP providers.
- McpElicitation
Response - Result returned by an elicitation handler after interacting with the user.
- McpPrompt
Detail - Fully rendered MCP prompt ready for use.
- McpPrompt
Info - Summary of an MCP prompt exposed by a provider.
- McpResource
Data - Resource contents fetched from an MCP provider.
- McpResource
Info - Summary of an MCP resource exposed by a provider.
- McpTool
Info - Information about an MCP tool exposed by a provider.
- McpTool
Visibility - Tool accessibility between model and app (SEP-1865
_meta.ui.visibility). - McpUi
Resource Meta - Declared sandbox posture of an MCP Apps UI resource (SEP-1865
UIResourceMeta). - McpUi
Tool Meta - Linkage from an MCP tool to its MCP Apps UI resource.
- Provided
File Payload - 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
offapps 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
_metamap.