create_comment
Add comments to Langfuse traces, observations, sessions, or prompts for collaborative debugging and analysis of LLM applications.
Instructions
Creates a comment attached to a trace, observation, session, or prompt. objectType values: TRACE | OBSERVATION | SESSION | PROMPT. Both objectType and objectId are required along with content. Returns the created comment with its assigned ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | Object type to attach the comment to: TRACE | OBSERVATION | SESSION | PROMPT. Required. | |
| objectId | Yes | ID of the trace, observation, session, or prompt to attach the comment to. Required. | |
| content | Yes | Comment text content. Required. |