完成 prompt

This commit is contained in:
锦恢 2025-04-01 23:34:03 +08:00
parent 5564dec451
commit f9ecdf233b

View File

@ -83,7 +83,9 @@ export class MCPClient {
// 获取提示
public async getPrompt(name: string, args: Record<string, any> = {}) {
return await this.client.getPrompt({ name }, args);
return await this.client.getPrompt({
name, arguments: args
});
}
// 列出资源