get_edge_failure_reaction
Predict the whole-network impact if one or more links go down.
Description: Same shape as get_node_failure_reaction, for links instead of nodes: whether the graph stays connected, and the traffic rerouting pattern (which links see more/less traffic). This is a simulation only: it does not fail any link or otherwise mutate the graph.
Input fields: graph_time (str): The graph time failed_edges (list[list[str]]): Pairs of node names identifying each failed link, e.g. [["10.10.10.1", "10.10.10.2"]]
Output fields: NetworkReactionResponse: dict with keys: - isGraphStillConnected: bool - affectedLinks: {sptPathsIncreasedInPercent, sptPathsDecreasedInPercent}, each a list of {edge_key, from, to, value}, one per link direction, value in percent - disjointedNodes: list of node-name groups, if the graph split
Equivalent to POST /network-reaction/edge-failure/.
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": {
"graph_time": "<graph_time>",
"failed_edges": "<failed_edges>"
},
"name": "get_edge_failure_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_time | Yes | ||
| failed_edges | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| affectedLinks | Yes | ||
| disjointedNodes | Yes | ||
| isGraphStillConnected | Yes |