@mcp-use/cli 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -284287,7 +284287,7 @@ var CLIService = class {
|
|
|
284287
284287
|
try {
|
|
284288
284288
|
const commandResult = await this.handleCommand(message);
|
|
284289
284289
|
if (commandResult.data && typeof commandResult.data === "object" && "checkTools" in commandResult.data && commandResult.data.checkTools) {
|
|
284290
|
-
const toolsResult =
|
|
284290
|
+
const toolsResult = this.agentService ? await this.agentService.getAvailableTools() : { tools: [], error: "Agent not initialized" };
|
|
284291
284291
|
yield {
|
|
284292
284292
|
response: "Available MCP Tools",
|
|
284293
284293
|
toolCalls: [],
|