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

Method to_dict

python/copilot/generated/rpc.py:2829–2832  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 2

from_listFunction · 0.70
from_dictFunction · 0.70

Tested by

no test coverage detected