get_comments
get_commentsRetrieve comments for Langfuse traces or observations by specifying object type and ID to analyze feedback and annotations in LLM applications.
Instructions
List comments filtered by objectType and objectId. objectType values: TRACE | OBSERVATION. Returns: id, objectType, objectId, content, authorUserId, createdAt. Read-only.
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": {
"objectType": "<objectType>",
"objectId": "<objectId>",
"page": "<page>",
"limit": "<limit>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | Object type: TRACE | OBSERVATION | |
| objectId | Yes | Trace ID or Observation ID to filter by | |
| page | Yes | Page number | |
| limit | Yes | Items per page |