Update World Model Test Case
lyzr_world_model_update_test_caseUpdate an existing test case in a world model by modifying its name, user input, expected output, and optionally linking a persona or scenario.
Instructions
Update a test case on a world model.
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": {
"world_model_id": "<world_model_id>",
"test_case_id": "<test_case_id>",
"name": "<name>",
"user_input": "<user_input>",
"expected_output": "<expected_output>"
},
"name": "lyzr_world_model_update_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test case name | |
| persona_id | No | Persona id to associate with this test case | |
| user_input | Yes | The simulated user input | |
| scenario_id | No | Scenario id to associate with this test case | |
| test_case_id | Yes | The test case id to update | |
| world_model_id | Yes | The world model id | |
| expected_output | Yes | The expected agent output |