drop_graph
Permanently remove a named graph and all its triples. Run backup_dataset beforehand if the data matters.
Instructions
Delete a named graph and everything in it. There is no undo.
Run backup_dataset first if the contents matter.
A 404 means the graph was already empty, which on TDB2 means it did not exist.
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>"
},
"name": "drop_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | Graph IRI to delete. | |
| dataset | No | Dataset name. Defaults to the configured one. |