score_traces
Write scores back to Langfuse traces to annotate them with analysis findings. For example, mark failing traces with 'needs-review' for quick review.
Instructions
Write scores back to Langfuse traces. trace_ids: comma-separated.
Use this after analysis to annotate traces with findings. Example: score failing traces with 'needs-review'.
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": {
"trace_ids": "<trace_ids>",
"score_name": "<score_name>",
"score_value": "<score_value>"
},
"name": "score_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| project | No | ||
| trace_ids | Yes | ||
| score_name | Yes | ||
| score_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||