Delete a model you saved
delete_graphDeletes one graph you saved, together with the runs of it. Use this when the user has explicitly asked for that model to be removed, and not otherwise. Confirm which one first with list_graphs or get_graph, because the graph_id is the only thing that says which model goes. Neumann purges it for good after 30 days, and until then nothing on this connector can restore it -- no tool here can put it back -- so treat it as final and do not tell the user it can be recovered. Deleting the same graph twice changes nothing and does not extend the 30 days. To stop using a graph without removing it, just leave it saved and do not pass its graph_id. It returns the graph_id, what kind of thing was deleted, the time it was deleted and the date it is purged for good. It needs a Neumann account: send your key, or your signed-in token, in the Authorization header as a Bearer credential. No Neumann tool takes an api_key argument. Cost: free -- it debits no credits and spends none of your free daily runs -- but it needs an account; an anonymous caller gets authentication_required.
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_id": "<graph_id>"
},
"name": "delete_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | Which saved graph to delete, from list_graphs. Its runs go with it. Confirm with the user first: no tool here can put it back. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What kind of thing was deleted: a graph. | graph |
| billing | No | Who you are and what this call cost: principal, auth source, credits debited and balance, or the anonymous allowance left today. | |
| graph_id | Yes | The id of the graph that was deleted. | |
| deleted_at | Yes | When it was deleted, as an ISO-8601 time. | |
| purge_after | Yes | The ISO-8601 instant after which it is removed for good. Until then it is recoverable inside Neumann, but not by any tool here. |