mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
feat(mcp): add MCPToolset and MCPToolsetTool TypeScript types
This commit is contained in:
parent
261471ff91
commit
3de93154d3
1 changed files with 14 additions and 0 deletions
|
|
@ -231,6 +231,20 @@ export interface MCPServerProps {
|
|||
userID: string | null;
|
||||
}
|
||||
|
||||
export interface MCPToolsetTool {
|
||||
server_id: string;
|
||||
tool_name: string;
|
||||
}
|
||||
|
||||
export interface MCPToolset {
|
||||
toolset_id: string;
|
||||
toolset_name: string;
|
||||
description?: string;
|
||||
tools: MCPToolsetTool[];
|
||||
created_at?: string;
|
||||
created_by?: string;
|
||||
}
|
||||
|
||||
// Discoverable MCP server from the curated registry
|
||||
export interface DiscoverableMCPServer {
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue