@kadoa/mcp 0.3.4-rc.2 → 0.3.5-rc.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.
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49421,19 +49421,28 @@ function registerTools(server, ctx) {
|
|
|
49421
49421
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
|
|
49422
49422
|
}, withErrorHandling("get_workflow", async (args) => {
|
|
49423
49423
|
const workflow = await ctx.client.workflow.get(args.workflowId);
|
|
49424
|
+
const additionalData = workflow.additionalData;
|
|
49424
49425
|
return jsonResult({
|
|
49425
49426
|
id: workflow.id,
|
|
49426
49427
|
name: workflow.name,
|
|
49428
|
+
description: workflow.description,
|
|
49427
49429
|
status: workflow.displayState ?? workflow.state,
|
|
49428
49430
|
urls: workflow.urls,
|
|
49431
|
+
prompt: additionalData?.userPrompt,
|
|
49432
|
+
entity: workflow.entity,
|
|
49429
49433
|
schema: workflow.schema,
|
|
49430
49434
|
navigationMode: workflow.navigationMode,
|
|
49431
49435
|
updateInterval: workflow.updateInterval,
|
|
49436
|
+
schedules: workflow.schedules,
|
|
49437
|
+
nextInvocation: workflow.nextInvocation,
|
|
49438
|
+
limit: workflow.limit,
|
|
49439
|
+
tags: workflow.tags,
|
|
49432
49440
|
totalRecords: workflow.totalRecords,
|
|
49433
49441
|
startedAt: workflow.startedAt,
|
|
49434
49442
|
finishedAt: workflow.finishedAt,
|
|
49435
49443
|
errors: workflow.errors,
|
|
49436
|
-
createdAt: workflow.createdAt
|
|
49444
|
+
createdAt: workflow.createdAt,
|
|
49445
|
+
notificationConfig: workflow.notificationConfig
|
|
49437
49446
|
});
|
|
49438
49447
|
}));
|
|
49439
49448
|
server.registerTool("run_workflow", {
|