react front end show available tools from mcp
This commit is contained in:
@@ -105,3 +105,15 @@ export type McpToolConfigUpdateResponse = {
|
||||
tool_keys: string[];
|
||||
};
|
||||
|
||||
export type McpAvailableToolsResponse = {
|
||||
available_tools: string[];
|
||||
errors: string[];
|
||||
servers: Record<
|
||||
string,
|
||||
{
|
||||
tools: string[];
|
||||
error?: string | null;
|
||||
}
|
||||
>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user