Create Simulation
create_simulationPredict community reactions by simulating AI agents. Describe scenarios or upload documents to generate calibrated prediction reports.
Instructions
Run a swarm prediction — graph build, persona generation, multi-agent simulation, report.
IMPORTANT: Enrich the prompt before calling. The engine extracts named entities to create personas. Add specific people, companies, organizations, and opposing viewpoints. Show the enriched prompt to the user for confirmation first.
If the user provides a document (PDF, MD, TXT), call upload_document first and pass the returned document_id.
Returns immediately with simulation_id. Call simulation_status to wait for completion — each call blocks up to 50s for the next state change, so you only need a few. When status returns state=COMPLETED, the full report is included inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Scenario description. E.g. 'How will crypto twitter react to a new ETH ETF rejection?' | |
| preset | No | Simulation preset: quick (10 agents, 20 rounds), standard (20/40), deep (50/72) | |
| agent_count | No | Override agent count | |
| rounds | No | Override simulation rounds | |
| platform | No | Target platform(s). Default: both | |
| document_id | No | ID of a pre-uploaded document (from upload_document tool). Skips file upload and uses server-side sanitized text. |