Run Chaos Experiment
chaos.run_experimentRun a sandboxed target script under selected chaos faults, enforce allow/deny glob policy, and report resulting events plus AI Operations run conformance.
Instructions
Run a workspace-sandboxed target script under selected chaos faults and report the resulting events. The script must also pass the configured allow/deny glob policy. With agentic-chaos>=0.5.1 the result includes an AI Operations v0.4-draft run artifact and its conformance check.
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": {
"script": "<script>",
"faults": "<faults>"
},
"name": "chaos.run_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faults | Yes | ||
| script | Yes | Script path, resolved inside the workspace root. | |
| session_id | No | Session to read/write shared state under. Defaults to 'default'. | |
| export_aios | No | Attach an AIOS run export (`aios_run`). Defaults to true. | |
| workflow_id | No | External Workflow ID for the export's run-of link. | |
| timeout_seconds | No |