Clinical AI Agent Interface

The first agent-native dental planning workspace.

Clinical AI agents call Toofi to generate treatment-plan drafts, patient-facing presentations, and price estimates from clinical inputs. MCP server, OAuth 2.1 with mandate scoping, signed audit trail, and C2PA-provenanced outputs.

Mandatory dentist approval before clinical use. Toofi outputs are drafts and decision-support artifacts, not autonomous diagnosis.

What Agents Can Call Now

POST /mcp Live MCP Streamable HTTP server with initialize, tools/list, tools/call, demo tools, clinical workflow commands, and agent payment rails.
GET /api/agent/capabilities Live machine-readable capability map, safety boundary, endpoints, and integration links.
POST /api/agent/dental-procedures/lookup Live no-PHI lookup over the Toofi dental procedure and pricing catalog.
POST /api/agent/plan-draft/preview Structured schema preview for agent-native treatment-plan draft generation.
GET /api/agent/demo/plans/list Live sanitized demo corpus with patient, plan, estimate, and presentation structures.
POST /api/agent/treatment-plan-drafts/generate No-registration, no-memory demo plan generation with internal-credit billing metadata and dentist approval fields.
GET /agents/examples/index.json Static multilingual PDF artifacts showing the patient-facing Toofi output. MCP tools: get_example_result, example_en, example_ru, example_uk, example_ua, example_pl, example_sk.
POST /api/runtime/agent/headless/plan/execute Headless service-user execution: structured clinical findings to runtime plan document and AI treatment-plan operation.
POST /api/runtime/agent/headless/plan/status Poll headless dental planning operations until AI output is ready for presentation and PDF delivery.
POST /api/runtime/agent/checkout/create Create a real Stripe Checkout session for Toofi internal credits. After payment, Toofi emails an agent API key.
POST /api/runtime/agent/credits/balance Read paid agent credit balance with X-Toofi-Agent-Key or the MCP agent_key argument.
POST /api/agent/patient-presentations/generate Patient-facing presentation command contract with signed audit receipt and C2PA output surface.
POST /api/agent/price-estimates/generate Price estimate command contract for clinic catalog and plan structure inputs.
POST /api/agent/pano-markup/start Panoramic X-ray markup command contract for clinic-scoped agents.

Clinical Agent Workflows

MCP Tool Surface

Agents connect to /mcp, list Toofi tools, generate demo plans, inspect workflow contracts, and negotiate billing quotes through one protocol endpoint.

Agent Payment Rails

Agents can request a Stripe Checkout session, buy Toofi internal credits, receive an emailed agent API key, and use it as X-Toofi-Agent-Key or agent_key for paid MCP workflows.

Procedure Intelligence

Map natural-language dental requests to structured procedure catalog entries and pricing anchors.

Pano Markup

Use AI-assisted panoramic X-ray markup as a structured input to treatment planning.

Plan Drafts

Generate structured demo treatment-plan drafts from procedure lists or natural-language clinical requests.

Headless Plan Execution

Generate runtime treatment-plan operations from agent-supplied clinical findings through generate_dental_treatment_plan_pdf and poll status through MCP.

Example PDF Artifacts

Call get_example_result or example_ru/example_en to get a stable PDF presentation URL without running generation.

Patient Presentations

Build patient-facing explanation documents from plan structure, pricing, and clinical narrative.

Mandate-Scoped Access

OAuth 2.1 agent identity, clinic mandate, scoped data classes, and dentist approval as first-class contract fields.

Signed Provenance

Generated outputs are positioned around signed audit receipts and C2PA-provenanced patient artifacts.

Example Lookup

{
  "request_id": "req-demo-001",
  "query": "implant and crown for lower molar",
  "language": "en",
  "limit": 5
}

Machine-Readable Files