Create a test
create_testSave steps as a new test that Monity runs on a schedule and alerts on when it fails. Try the steps with try_test_steps first and save only steps that pass. The schedule is definition.settings.schedule (every 3 hours unless you say; no faster than the plan allows). It then counts as one of the account's monitors, and each run costs credits.
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>",
"definition": "<definition>"
},
"name": "create_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The test's name, as the person would call the journey: "Sign up", "Checkout with a card" | |
| definition | Yes | The test's definition: { startUrl, steps[], variables?, settings? }. Read get_test_steps_guide first. | |
| workspaceId | No | The workspace (default: the person's own) |