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

Method list

python/copilot/generated/rpc.py:25102–25105  ·  view source on GitHub ↗

Lists built-in tools available for a model.\n\nArgs:\n params: Optional model identifier whose tool overrides should be applied to the listing.\n\nReturns:\n Built-in tools available for the requested model, with their parameters and instructions.

(self, params: ToolsListRequest, *, timeout: float | None = None)

Source from the content-addressed store, hash-verified

25100 self._client = client
25101
25102 async def list(self, params: ToolsListRequest, *, timeout: float | None = None) -> ToolList:
25103 "Lists built-in tools available for a model.\n\nArgs:\n params: Optional model identifier whose tool overrides should be applied to the listing.\n\nReturns:\n Built-in tools available for the requested model, with their parameters and instructions."
25104 params_dict = {k: v for k, v in params.to_dict().items() if v is not None}
25105 return ToolList.from_dict(await self._client.request("tools.list", params_dict, **_timeout_kwargs(timeout)))
25106
25107
25108# Experimental: this API group is experimental and may change or be removed.

Calls 4

_timeout_kwargsFunction · 0.85
to_dictMethod · 0.45
from_dictMethod · 0.45
requestMethod · 0.45