Save graph
save_graphSave the current graph to its default file or a copy at a given path; .json uses JSON, other extensions use YAML, and the saved file becomes current.
Instructions
Save the current graph. With a path, saves a copy there (format from the extension: .json → JSON, otherwise YAML) and makes it the current file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Destination file; defaults to the current file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| counts | Yes | ||
| format | Yes | ||
| dropped | Yes | Invalid file entries that were skipped when reading it |