@utaba/ucm-mcp-server 6.3.0 → 6.4.0
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.
|
@@ -69,8 +69,10 @@ export class CallRemoteToolTool extends BaseToolController {
|
|
|
69
69
|
authRequired: result.authRequired || false
|
|
70
70
|
});
|
|
71
71
|
// Clean proxy: pass through content blocks directly
|
|
72
|
+
// Prefer markdown over error — validation failures include full schema guidance
|
|
73
|
+
// so the AI can self-correct and retry with correct parameters
|
|
72
74
|
if (!result.success) {
|
|
73
|
-
return result.
|
|
75
|
+
return result.markdown || result.error || 'Tool execution failed';
|
|
74
76
|
}
|
|
75
77
|
// Return as pre-formatted MCP response — McpHandler will pass through
|
|
76
78
|
return { content: result.content };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseToolController } from '../base/BaseToolController.js';
|
|
2
2
|
//import packageJson from '../../../../publish/package.json' assert { type: 'json' };
|
|
3
|
-
const version = '6.
|
|
3
|
+
const version = '6.4.0'; //TODO: tried to sync this with packageJson but it didn't work.
|
|
4
4
|
export class HealthCheckController extends BaseToolController {
|
|
5
5
|
constructor(ucmClient, logger, publishingAuthorId) {
|
|
6
6
|
super(ucmClient, logger, publishingAuthorId);
|
package/package.json
CHANGED