import_flow
Import a phone-system flow or voice-agent config from a platform (e.g. Vapi) into the canonical, diffable Flow IR — the first step of putting your phone system under version control. Reports the fields the IR abstracts away. Pass save:true to persist it as a versioned flow. The same IR exports back out, so it doubles as a migration surface between platforms.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"config": "<config>"
},
"name": "import_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the saved flow (defaults to the config name). | |
| save | No | Persist the imported IR as a new versioned flow. | |
| config | Yes | The platform's native flow/agent object. | |
| platform | Yes | The source platform. |