add_nodes
Add nodes to a NetworkX graph to expand its structure for analysis. Specify the graph and a list of node identifiers to insert new vertices.
Instructions
Add nodes to a graph
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": "<graph>",
"nodes": "<nodes>"
},
"name": "add_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| nodes | Yes |