MCPcopy Index your code
hub / github.com/github/copilot-sdk / MCPAppsListToolsResult

Class MCPAppsListToolsResult

python/copilot/generated/rpc.py:2817–2832  ·  view source on GitHub ↗

App-callable tools from the named MCP server.

Source from the content-addressed store, hash-verified

2815# Experimental: this type is part of an experimental API and may change or be removed.
2816@dataclass
2817class MCPAppsListToolsResult:
2818 """App-callable tools from the named MCP server."""
2819
2820 tools: list[dict[str, Any]]
2821 """App-callable tools from the server"""
2822
2823 @staticmethod
2824 def from_dict(obj: Any) -> 'MCPAppsListToolsResult':
2825 assert isinstance(obj, dict)
2826 tools = from_list(lambda x: from_dict(lambda x: x, x), obj.get("tools"))
2827 return MCPAppsListToolsResult(tools)
2828
2829 def to_dict(self) -> dict:
2830 result: dict = {}
2831 result["tools"] = from_list(lambda x: from_dict(lambda x: x, x), self.tools)
2832 return result
2833
2834# Experimental: this type is part of an experimental API and may change or be removed.
2835@dataclass

Callers 1

from_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…