Skip to main content

User Prompt

“Set up a primary care clinic with a FHIR EHR and a payer portal for testing prior auth workflows.”

Tool Call Sequence

1

Create simulators

The agent creates two simulators: a FHIR EHR and a payer portal.Call 1: simulators
Response:
Call 2: simulators
Response:
What the agent learns: Both simulators are created and have IDs. The agent uses these IDs to link the simulators to an environment in the next step.
2

Create environment and link simulators

The agent creates the environment, then attaches both simulators.Call 3: environments
Response:
Call 4: environments
Response:
Call 5: environments
Response:
What the agent learns: The environment now has both simulators attached. The simulators array in the response confirms the links.
3

Create playground to provision live endpoints

The agent creates a playground to spin up live instances of all simulators in the environment.Call 6: playgrounds
Response:
What the agent learns: The playground is active with live endpoints for both simulators. The FHIR EHR is available at a REST endpoint and the payer portal has its own URL. These endpoints are ready for the agent-under-test to connect to.

Agent Response

Your primary care clinic environment is ready. Here is what was provisioned: The environment env_clinic_01 is active with playground pg_01. You can now point your agent at these endpoints to test prior auth workflows.

Summary