App-callable tools from the named MCP server.
| 2815 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 2816 | @dataclass |
| 2817 | class 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…