Create a Chatbot Test
createDigitalTestConfigSave a chatbot test on a saved connector (connectorId, from listDigitalConnectors or createDigitalConnector): what the customer wants (mission), what counts as success (acceptance) and, optionally, the exact messages to send in order (probes). Saves the test and sends nothing; run it with runDigitalTest. If a required value was not given (the phone number, what should be heard, what counts as success), ask for it; do not invent one. Say which optional settings are being left at their defaults. Use when: what a chatbot does in a conversation is to be checked.
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": {
"name": "<name>",
"sector": "<sector>",
"mission": "<mission>",
"connectorId": "<connectorId>"
},
"name": "createDigitalTestConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | freeform | |
| name | Yes | ||
| setup | No | ||
| steps | No | `standard` only. | |
| probes | No | ||
| sector | Yes | ||
| mission | Yes | ||
| profile | No | Test data a `standard` run's steps draw on. The voice profile shape minus `voiceItems`. | |
| samples | No | Defaults to 3 for the judged kinds and 1 for `standard`. | |
| maxTurns | No | ||
| profileId | No | Reference to a saved profile (see `/profiles`) to draw test data from — the same mechanism voice tests use. Resolved at RUN time, so editing the profile updates every test that points at it rather than leaving stale copies behind. Takes precedence over an inline `profile`. A profile that resolves to no usable items is rejected with 400 rather than run with no data — a test that silently sent nothing would fail against a perfectly good bot and read as a product defect. | |
| acceptance | No | Required for `kind: freeform`. | |
| connectorId | Yes | The connector this test runs against. Resolved at LAUNCH time, so editing a connector updates every test pointing at it. | |
| description | No | ||
| failConditions | No | ||
| passConditions | No | ||
| catalogueTestId | No | Required for `kind: compliance`. | |
| profileSnapshot | No | ||
| additionalContext | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||