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.
Check Health
LANGFUSE_CHECK_HEALTHCheck the health of the Langfuse API and database. Returns the server version and health status.
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.
Delete Dataset Item
LANGFUSE_DELETE_DATASET_ITEMDelete a Langfuse dataset item by its ID and all its run items. This action is irreversible.
Delete Evaluation Rule
LANGFUSE_DELETE_EVALUATION_RULEDelete a Langfuse evaluation rule by its stable ID, including legacy trace and dataset rules. This removes the live-ingestion rule only; associated evaluators and previously produced scores are preserved.
Delete Evaluator
LANGFUSE_DELETE_EVALUATORDelete a Langfuse evaluator and all of its stored versions by its stable ID. Associated evaluation-rule assignments are also removed. Scores already produced by the evaluator are preserved.
Delete LLM Connection
LANGFUSE_DELETE_LLM_CONNECTIONDelete a Langfuse LLM connection by its ID. Evaluators that depend on the deleted connection are automatically paused.
Delete Model
LANGFUSE_DELETE_MODELDelete a project-owned Langfuse model by its ID. Models managed by Langfuse cannot be deleted; create your own definition with the same modelName to override a managed definition instead. Returns an empty response on success.
Delete Prompt
LANGFUSE_DELETE_PROMPTDelete Langfuse prompt versions by prompt name. Optionally filter deletion by label or version. If neither label nor version is specified, all versions of the prompt are deleted. Returns an empty response on success.