Delete Entities
delete_entitiesDelete multiple entities and their associated relations from a specified knowledge graph namespace to remove outdated or unwanted data.
Instructions
Delete multiple entities and their associated relations from the knowledge 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": {
"namespace": "<namespace>",
"entityNames": "<entityNames>"
},
"name": "delete_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | The namespace to operate in (required). It must already exist: create it with create_namespace, and list the existing ones with list_namespaces. Namespaces are isolated from each other: the same entity name can exist in several, and a relation only connects entities in its own namespace. | |
| entityNames | Yes | An array of entity names to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |