From ac10c546d75d708ed4a09daf77e31d69871d74e3 Mon Sep 17 00:00:00 2001 From: Van Buren Date: Wed, 15 Apr 2026 13:34:29 -0400 Subject: [PATCH] fix: runmcptool --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 2055c46..3827181 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,7 +27,7 @@ The primary hook is `useInsight()` from `@semoss/sdk/react`: **Everything goes through `actions.run()`:** - **Java reactors:** `actions.run('YourTool(param=...')')` — drop the "Reactor" suffix from class name -- **Python MCP tools:** `actions.run('RunMCPTool(tool=["tool_name"], param=...)')` — this calls the `RunMCPTool` Pixel reactor +- **Python MCP tools:** `actions.run('RunMCPTool(function=["tool_name"], paramValues=[{"param": "value"}])')` — this calls the `RunMCPTool` Pixel reactor - **Escape params with `JSON.stringify()`:** `actions.run(\`Your(text=${JSON.stringify(userInput)})\`)` - **Check for errors:** `pixelReturn[0].operationType.includes("ERROR")` - **Send to Playground after:** `actions.sendMCPResponseToPlayground(JSON.stringify(result), "success", { param })`