semconv.com

gen_ai.tool.definitions

MovedGenAI registryanyas of v1.44.0

The list of tool definitions available to the GenAI agent or model.

Instrumentations MUST follow Tool Definitions JSON Schema.

When the attribute is recorded on events, it MUST be recorded in structured form. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise.

Since this attribute could be large, it's NOT RECOMMENDED to populate non-required properties by default. Instrumentations MAY provide a way to enable populating optional properties.

Examples

Used by

events (1)

  • gen_ai.client.inference.operation.details (opt-in)

spans (7)

  • span.anthropic.inference.client (opt-in)
  • span.aws.bedrock.client (opt-in)
  • span.azure.ai.inference.client (opt-in)
  • span.gen_ai.inference.client (opt-in)
  • span.gen_ai.invoke_agent.client (opt-in)
  • span.gen_ai.invoke_agent.internal (opt-in)
  • span.openai.inference.client (opt-in)

* required on that signal.

History

  1. v1.42.0deprecated

    Moved to the OpenTelemetry GenAI semantic conventions repository.

  2. v1.38.0

    Added as development.

Definition sourceRegistry docsJSON