NitroStack Logo
/python
/studio
/testing

Testing Tools (Python)

Call tools from MCP Inspector (HTTP, stateless) or NitroTestingModule in pytest.

Python
harness = await NitroTestingModule.create(AppModule)
await harness.call_tool("add", {"input": {"a": 1, "b": 2}})

Widget HTML is filled on tools/call. Do not treat widgets/preview.html as the live result.

See Testing and Studio Overview.