graph_create
Create graphs from specifications, edge lists, or adjacency matrices for graph theory analysis.
Instructions
Create a graph from a named specification, edge list, or adjacency matrix.
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": {
"specification": "<specification>"
},
"name": "graph_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specification | Yes | ||
| graph_type | No | undirected | |
| n | No | ||
| edges | No | ||
| adjacency | No | ||
| edge_weights | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||