Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Annotation Queue Item
LANGFUSE_ADD_ANNOTATION_QUEUE_ITEMAdd a trace, observation, or session to a Langfuse annotation queue by queue ID and object ID. Optionally set the item's annotation status.
Assign Annotation Queue User
LANGFUSE_ASSIGN_ANNOTATION_QUEUE_USERAssign a user to a Langfuse annotation queue by queue ID and user ID. Returns the user, queue, and project IDs for the created assignment.
Create annotation queue
LANGFUSE_CREATE_ANNOTATION_QUEUECreate an annotation queue in the authenticated Langfuse project for human evaluation, using the supplied score configuration IDs. Returns the created queue and its ID.
Create comment
LANGFUSE_CREATE_COMMENTCreate a comment on an existing Langfuse trace, observation, session, or prompt in the specified project. Supports Markdown content and an optional author who belongs to the project's organization. Returns the created comment ID.
Create Dataset
LANGFUSE_CREATE_DATASETCreate a dataset in the connected Langfuse project, optionally with a description, metadata, and JSON Schemas for item inputs and expected outputs. This creates the dataset container; add dataset items separately.
Create Dataset Item
LANGFUSE_CREATE_DATASET_ITEMCreate a Langfuse dataset item with input, expected output, and metadata. Providing an existing item ID updates that item in the same dataset.
Create Evaluation Rule
LANGFUSE_CREATE_EVALUATION_RULECreate a Langfuse evaluation rule for incoming observations, using stable evaluator IDs and their latest versions. Explicitly choose enabled: true starts automatic evaluations and may incur model costs; false creates a disabled draft. Omitted filters match all observations and omitted sampling evaluates every match. Rule names need not be unique.
Create evaluator
LANGFUSE_CREATE_EVALUATORCreate a version-1 evaluator in the authenticated Langfuse project. Choose llm_as_judge with a prompt and structured score output, or code with source code and runtime language. Names need not be unique. An evaluator defines how to score data; evaluation rules separately determine which data to evaluate.
Create media upload URL
LANGFUSE_CREATE_MEDIA_UPLOAD_URLObtain a presigned upload URL and media ID for Langfuse media associated with either a trace (optionally an observation) or a dataset item. Requires the media MIME type, byte length, SHA-256 hash, and containing field. Only requests the URL; does not upload a file. The URL can be null if already uploaded.
Create model
LANGFUSE_CREATE_MODELCreate a custom Langfuse model definition for usage-to-USD cost calculation and optional tokenization. Supply a model name, matching regex, usage unit, and either pricing tiers (recommended) or legacy flat prices. Each tiered model needs exactly one default tier with priority 0 and no conditions.
Create Prompt
LANGFUSE_CREATE_PROMPTCreate a new version of a named Langfuse text or chat prompt. Chat prompts require type='chat' and support messages and named placeholders. Optionally attach arbitrary JSON configuration, deployment labels, tags, and a commit message.
Create Score
LANGFUSE_CREATE_SCOREAttach an evaluation score to exactly one Langfuse trace, session, or dataset run, optionally narrowing a trace score to an observation.
Create score config
LANGFUSE_CREATE_SCORE_CONFIGCreate a score configuration in the authenticated Langfuse project to define numeric bounds, categorical label/value pairs, boolean scores, or text scores. Boolean categories are autogenerated; omit categories for BOOLEAN configs. Use the returned config ID when creating scores validated against this configuration.
Ingest Traces
LANGFUSE_INGEST_TRACESExport OpenTelemetry traces to Langfuse using OTLP HTTP/JSON with real-time v4 ingestion. Supply resourceSpans containing scopeSpans and spans. Acceptance is asynchronous. Inspect partialSuccess: HTTP 200 can include rejected spans or warnings; do not retry partially accepted batches. This action supports JSON, not binary protobuf or gzip.
Submit feedback
LANGFUSE_SUBMIT_FEEDBACKSubmit feedback to Langfuse about its skills, MCP tools, CLI, docs, or public API. Only call after the user has explicitly approved the feedback content for submission; any supplied goal must also be user-approved. Do not include secrets, credentials, customer data, trace payloads, or unrelated use-case details. Not available in the HIPAA cloud region. Returns a feedback correlation ID.
Upsert Model
LANGFUSE_UPSERT_MODELCreate or replace a project-owned Langfuse model definition by ID for usage cost calculation and optional tokenization. Built-in models cannot be modified. This replaces the model definition; supply its desired configuration.