MCPcopy Create free account
hub / github.com/BerriAI/litellm / create_toolset

Method create_toolset

tests/e2e/proxy_client.py:898–906  ·  view source on GitHub ↗
(self, body: ToolsetCreateBody)

Source from the content-addressed store, hash-verified

896
897 @step("Create an MCP toolset with the tools {body.tools}")
898 def create_toolset(self, body: ToolsetCreateBody) -> ToolsetRow:
899 return unwrap(
900 self.transport.post(
901 "/v1/mcp/toolset",
902 headers=self.management_headers(),
903 json=body,
904 response_type=ToolsetRow,
905 )
906 )
907
908 @step("Update an MCP toolset with {body}")
909 def update_toolset(self, body: ToolsetUpdateBody) -> ToolsetRow:

Calls 3

management_headersMethod · 0.95
unwrapFunction · 0.90
postMethod · 0.65