langfuse_trace
Log an LLM interaction to Langfuse with input, output, model, and metadata for observability and audit trails.
Instructions
Create a Langfuse trace to log an LLM interaction (input, output, model, metadata).
Requires scope: integrations:observe:write. Every call governed by Arbiter constitutional policy and sealed with a ProofLink cryptographic receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Trace name / operation label | |
| tags | No | Trace tags | |
| input | No | Input payload (any JSON value) | |
| model | No | Model ID used (e.g. claude-sonnet-4-6) | |
| output | No | Output payload (any JSON value) | |
| userId | No | End-user identifier | |
| metadata | No | Arbitrary metadata object |