@ateam-ai/mcp 0.3.7 → 0.3.8
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/package.json +1 -1
- package/src/tools.js +31 -0
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -674,6 +674,34 @@ export const tools = [
|
|
|
674
674
|
required: ["solution_id", "skill_id", "job_id"],
|
|
675
675
|
},
|
|
676
676
|
},
|
|
677
|
+
{
|
|
678
|
+
name: "ateam_test_connector",
|
|
679
|
+
core: true,
|
|
680
|
+
description:
|
|
681
|
+
"Call a tool on a running connector and get the result. Use this to test individual connector tools (e.g., triggers.list, entities.list, google.command) without deploying to a client. The connector must be connected and running.",
|
|
682
|
+
inputSchema: {
|
|
683
|
+
type: "object",
|
|
684
|
+
properties: {
|
|
685
|
+
solution_id: {
|
|
686
|
+
type: "string",
|
|
687
|
+
description: "The solution ID",
|
|
688
|
+
},
|
|
689
|
+
connector_id: {
|
|
690
|
+
type: "string",
|
|
691
|
+
description: "The connector ID (e.g., 'home-assistant-mcp', 'google-home-mcp')",
|
|
692
|
+
},
|
|
693
|
+
tool: {
|
|
694
|
+
type: "string",
|
|
695
|
+
description: "The tool name to call (e.g., 'triggers.list', 'entities.list', 'google.devices')",
|
|
696
|
+
},
|
|
697
|
+
args: {
|
|
698
|
+
type: "object",
|
|
699
|
+
description: "Optional: arguments to pass to the tool",
|
|
700
|
+
},
|
|
701
|
+
},
|
|
702
|
+
required: ["solution_id", "connector_id", "tool"],
|
|
703
|
+
},
|
|
704
|
+
},
|
|
677
705
|
{
|
|
678
706
|
name: "ateam_get_connector_source",
|
|
679
707
|
core: true,
|
|
@@ -1709,6 +1737,9 @@ const handlers = {
|
|
|
1709
1737
|
ateam_solution_chat: async ({ solution_id, message }, sid) =>
|
|
1710
1738
|
post(`/deploy/solutions/${solution_id}/chat`, { message }, sid),
|
|
1711
1739
|
|
|
1740
|
+
ateam_test_connector: async ({ solution_id, connector_id, tool, args }, sid) =>
|
|
1741
|
+
post(`/deploy/solutions/${solution_id}/connectors/${connector_id}/call`, { tool, args }, sid, { timeoutMs: 30_000 }),
|
|
1742
|
+
|
|
1712
1743
|
// ─── Developer Tools ────────────────────────────────────────────
|
|
1713
1744
|
|
|
1714
1745
|
ateam_get_execution_logs: async ({ solution_id, skill_id, job_id, limit }, sid) => {
|