create_comment
Add a markdown comment to a trace, observation, session, or prompt in Langfuse to provide context or feedback directly on the object.
Instructions
Create a comment on a trace, observation, session, or prompt.
project_id: the Langfuse project ID (different from the MCP project
argument — find it in your Langfuse dashboard URL).
object_type: 'trace' | 'observation' | 'session' | 'prompt'.
content: markdown body, up to 5000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| project | No | ||
| object_id | Yes | ||
| project_id | Yes | ||
| object_type | Yes | ||
| author_user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||