A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
/* Copyright 2026 Marimo. All rights reserved. */
import React from "react";
interface ToolArgsRendererProps {
input: unknown;
label?: string;
}
export const ToolArgsRenderer: React.FC<ToolArgsRendererProps> = ({
input,
label = "Tool Request",
}) => {
if (input == null) {
return null;
}
return (
<div className="space-y-2">
<h3 className="text-xs font-semibold text-muted-foreground">{label}</h3>
<pre className="bg-(--slate-2) p-2 text-muted-foreground border border-(--slate-4) rounded text-xs overflow-auto scrollbar-thin max-h-64">
{JSON.stringify(input, null, 2)}
</pre>
</div>
);
};