@cotofe/service-of-litellm
Version:
OpenAPI client for @cotofe/service-of-litellm
59 lines (58 loc) • 3.4 kB
TypeScript
/**
* Platform
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { ListMcpToolsRestApiResponseObject } from '../models/index';
import * as runtime from '../runtime';
/**
*
*/
export declare class McpApi extends runtime.BaseAPI {
/**
* REST API to call a specific MCP tool with the provided arguments
* Call Tool Rest Api
*/
callToolRestApiMcpToolsCallPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
/**
* REST API to call a specific MCP tool with the provided arguments
* Call Tool Rest Api
*/
callToolRestApiMcpToolsCallPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
/**
*
* Handle Messages
*/
handleMessagesMcpSseMessagesPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
/**
*
* Handle Messages
*/
handleMessagesMcpSseMessagesPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
/**
*
* Handle Sse
*/
handleSseMcpGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
*
* Handle Sse
*/
handleSseMcpGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
/**
* List all available tools with information about the server they belong to. Example response: Tools: [ { \"name\": \"create_zap\", \"description\": \"Create a new zap\", \"inputSchema\": \"tool_input_schema\", \"mcp_info\": { \"server_name\": \"zapier\", \"logo_url\": \"https://www.zapier.com/logo.png\", } }, { \"name\": \"fetch_data\", \"description\": \"Fetch data from a URL\", \"inputSchema\": \"tool_input_schema\", \"mcp_info\": { \"server_name\": \"fetch\", \"logo_url\": \"https://www.fetch.com/logo.png\", } } ]
* List Tool Rest Api
*/
listToolRestApiMcpToolsListGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ListMcpToolsRestApiResponseObject>>>;
/**
* List all available tools with information about the server they belong to. Example response: Tools: [ { \"name\": \"create_zap\", \"description\": \"Create a new zap\", \"inputSchema\": \"tool_input_schema\", \"mcp_info\": { \"server_name\": \"zapier\", \"logo_url\": \"https://www.zapier.com/logo.png\", } }, { \"name\": \"fetch_data\", \"description\": \"Fetch data from a URL\", \"inputSchema\": \"tool_input_schema\", \"mcp_info\": { \"server_name\": \"fetch\", \"logo_url\": \"https://www.fetch.com/logo.png\", } } ]
* List Tool Rest Api
*/
listToolRestApiMcpToolsListGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ListMcpToolsRestApiResponseObject>>;
}