replace_dataset_log
Overwrite a specific log in a dataset by replacing its input, output, expected_output, and metadata fields with new values, enabling corrections or updates.
Instructions
Replace (full overwrite) a log in a dataset. Updates input, output, expected_output, and/or metadata fields.
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": {
"dataset_id": "<dataset_id>",
"unique_id": "<unique_id>"
},
"name": "replace_dataset_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input data for the log. | |
| output | No | Output data for the log. | |
| prompt | No | Prompt text. | |
| metadata | No | Metadata key-value pairs. | |
| unique_id | Yes | The unique identifier of the log to replace. | |
| completion | No | Completion text. | |
| dataset_id | Yes | The unique identifier of the dataset. | |
| expected_output | No | Expected output for evaluation. |