get_traffic_chaos_status
Read the current Global Traffic Chaos configuration for a specific mock API. Returns whether chaos is enabled, the distribution mode (probabilistic or exact round-robin), the list of traffic targets (drop/error/rule/default) with their percentages, and the error status code. Call this before set_traffic_chaos to understand the current state.
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": {
"projectId": "<projectId>",
"mockId": "<mockId>"
},
"name": "get_traffic_chaos_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mockId | Yes | Database ID of the mock endpoint | |
| projectId | Yes | Database ID of the project (obtained from list_projects) |