Generate Chaos Fault Injection Policy
systemores_inject_environment_faultConfigures dynamic chaos injection policies for tools, mock APIs, and databases during simulations (HTTP 429 rate limits, 500 errors, timeouts, 401 unauthorized, malformed JSON).
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": {
"faultType": "<faultType>",
"targetToolName": "<targetToolName>"
},
"name": "systemores_inject_environment_fault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faultType | Yes | The specific chaos fault to inject. | |
| targetToolName | Yes | The target tool name to attach fault injection policy to (or 'all_tools'). | |
| failureProbability | No | Probability of fault triggering per invocation (0.01 to 1.0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyId | Yes | ||
| faultType | Yes | ||
| recommendation | Yes | ||
| targetToolName | Yes | ||
| mockResponseBody | Yes | ||
| failureProbability | Yes | ||
| simulatedLatencyMs | Yes | ||
| activeDurationSeconds | Yes |