Start an IVR Map
startMappingStart a run of a saved mapping job: nopaque calls the number, works through the menu and builds the tree. Takes the job id (from createMapping or listMappings). Returns the job with its current run; a run usually takes 2 to 15 minutes. Read progress with getMapping and the result with getMappingTree. This uses the workspace's minutes or credit and cannot be undone; when a person is present, get a yes first. Use when: straight after createMapping, or to run a saved map again.
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": {
"id": "<id>"
},
"name": "startMapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mapping-job identifier. | |
| vertical | No | Vertical hint for prompt-library lookup (overrides job-level setting). | |
| probeMode | No | Enable security-probe mode for this run. Requires a prior attestation via `POST /mapping/attest` for the target phone number; without one the call returns `403`. | |
| toolConfig | No | Tool-config override for this run (analyzer + transcriber). | |
| copyFromRun | No | Run number to copy step data from for excluded paths (used when re-starting a job with `exclude` rules without re-mapping the excluded subtrees). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique mapping-job identifier. | |
| name | Yes | Job display name. | |
| tags | No | String labels for filtering and grouping. Lowercase alphanumeric + hyphens. | |
| error | No | Error message if the job failed. | |
| stats | No | Aggregate statistics for the current run, populated while the job executes. | |
| config | Yes | Per-job configuration knobs that govern exploration shape and call orchestration. Sensible defaults are applied server-side when fields are omitted on create. | |
| status | Yes | On getMappingJob, the status of the run the response describes (a copy of `currentRun.status`, with `queued` shown as `idle`), or `idle` when the job has never run. createMappingJob returns `idle`: creating a job places no call and starts no run (POST /mapping/{id}/start does). | |
| userId | Yes | User who created the job. | |
| createdAt | Yes | Creation timestamp. | |
| runNumber | No | Flat-merged run number from the active or requested (via `?version=`) run. Phase 04 D-09 — preserved at top level for frontend back-compat alongside the new nested `currentRun` object. | |
| startedAt | No | Most-recent run start timestamp. | |
| updatedAt | Yes | Last update timestamp. | |
| currentRun | No | Nested run summary on single-job responses (Phase 04 D-09 / D-10). `currentRun.status` is the run's own status (`queued`, `running`, `completed`, `failed` or `limited`); read it to decide whether the discovery is done. The flat `status` on the job response is a copy of it, except that `queued` shows as `idle`. The field name stays `currentRun` even when `?version=N` is supplied — the wrapper describes the run this response describes (active by default, or the historical run identified by `version`). | |
| completedAt | No | Most-recent run completion timestamp. | |
| limitReason | No | Reason the run stopped early (only present when `status` is `limited`). | |
| phoneNumber | Yes | Target phone number in E.164 format. | |
| workspaceId | Yes | Owning workspace. | |
| currentRunId | No | Identifier of the most-recent run (absent if never started). | |
| inFlightCount | No | Currently executing calls. |