delete_dataset_item
Permanently delete a dataset item from Langfuse by its ID. Removes erroneous or outdated entries from your LLM evaluation datasets.
Instructions
Delete a dataset item by ID.
This is a permanent deletion and cannot be undone.
Args:
ctx: Context object containing lifespan context with Langfuse client
item_id: The ID of the dataset item to delete
Returns:
A dictionary confirming the deletion
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": {
"item_id": "<item_id>"
},
"name": "delete_dataset_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | The ID of the dataset item to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||