@voyager-0x/agent-mcp
Version:
Voyager MCP Agent - A powerful Model Context Protocol agent
17 lines (14 loc) • 338 B
text/typescript
export type LLMConfig = {
apiKey: string;
baseURL: string;
model: string;
};
export type ToolCall = {
tool: string; // 工具名称
arguments?: Record<string, any>; // 工具参数
moduleId: string; // 模块的唯一ID
};
export type ResourceCall = {
uri: string; // 资源URI
moduleId: string; // 模块的唯一ID
};