diff --git a/client/src/components/ToolResults.tsx b/client/src/components/ToolResults.tsx index a3cecf55..6479b5fb 100644 --- a/client/src/components/ToolResults.tsx +++ b/client/src/components/ToolResults.tsx @@ -154,6 +154,14 @@ const ToolResults = ({ )} + {structuredResult._meta && ( +
+
Meta:
+
+ +
+
+ )} {!structuredResult.structuredContent && validationResult && !validationResult.isValid && ( diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index 3c7db84e..fcd3ffbd 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -46,6 +46,7 @@ const ToolsTab = ({ const [params, setParams] = useState>({}); const [isToolRunning, setIsToolRunning] = useState(false); const [isOutputSchemaExpanded, setIsOutputSchemaExpanded] = useState(false); + const [isMetaExpanded, setIsMetaExpanded] = useState(false); useEffect(() => { const params = Object.entries( @@ -245,6 +246,38 @@ const ToolsTab = ({ )} + {selectedTool && (selectedTool as any)._meta && ( +
+
+

Meta:

+ +
+
+ +
+
+ )}