java.lang.Object
com.github.copilot.generated.rpc.SessionMcpAppsApi
API methods for the
mcp.apps namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncallTool(SessionMcpAppsCallToolParams params) MCP server, tool name, and arguments to invoke from an MCP App view.diagnose(SessionMcpAppsDiagnoseParams params) MCP server to diagnose MCP Apps wiring for.Identifies the target session.MCP server to list app-callable tools for.MCP server and resource URI to fetch.Host context to advertise to MCP App guests.
-
Method Details
-
readResource
public CompletableFuture<SessionMcpAppsReadResourceResult> readResource(SessionMcpAppsReadResourceParams params) MCP server and resource URI to fetch.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
listTools
public CompletableFuture<SessionMcpAppsListToolsResult> listTools(SessionMcpAppsListToolsParams params) MCP server to list app-callable tools for.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
callTool
MCP server, tool name, and arguments to invoke from an MCP App view.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
setHostContext
Host context to advertise to MCP App guests.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getHostContext
Identifies the target session.- Since:
- 1.0.0
-
diagnose
public CompletableFuture<SessionMcpAppsDiagnoseResult> diagnose(SessionMcpAppsDiagnoseParams params) MCP server to diagnose MCP Apps wiring for.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-