OptionalagentOptionalcostList of tag keys to propagate to LLM Observability cost and token metrics emitted from each span
in the context.
Each key must already be present in tags on the span when it starts.
OptionalnameSet to override the span name for any spans annotated within the returned context.
OptionalpromptA Prompt object that represents the prompt used for an LLM call. Only used on llm spans.
OptionaltagsDictionary of JSON serializable key-value tag pairs to set or update on the LLMObs span regarding the span's context.
Declares the agent running in this context, read when the context is entered. The manifest is reported on every
agentspan in the context, nested ones included. Useannotateon a nested agent span to declare its own agent.