TOOLS
Two patterns, one project schema.
This page is the template every future data/automation tool follows. Publish a new project in Sanity, set its tool type, and it slots in without touching code.
Embedded App
iframeFor tools with their own runtime — a Streamlit dashboard, a Power BI report, or a Hugging Face Space. Host it externally, then paste the URL into the project's embedUrl field in Sanity.
No embed URL set yet — this is where your tool will render.
e.g. https://your-tool.streamlit.appAPI-backed Tool
/api/toolsExample: an SLA Risk Predictor. Swap the mock logic for your real calculation in app/api/tools/sla-risk/route.ts.