subgraph
Extract an induced subgraph from an existing graph by specifying nodes, then save it as a new graph. Isolates the selected nodes and their interconnections.
Instructions
Extract an induced subgraph and store it as a new 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>",
"new_graph": "<new_graph>"
},
"name": "subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| nodes | Yes | ||
| new_graph | Yes |