gen_ai.tool.call.result
MovedGenAI registryanyas of v1.44.0
The result returned by the tool call (if any and if execution was successful).
> [!WARNING] > This attribute may contain sensitive information.
It's expected to be an object - in case a serialized string is available to the instrumentation, the instrumentation SHOULD do the best effort to deserialize it to an object. 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.
Examples
- { "temperature_range": { "high": 75, "low": 60 }, "conditions": "sunny" }
Used by
spans (2)
- span.gen_ai.execute_tool.internal (opt-in)
- span.mcp.client (opt-in)
* required on that signal.
History
- v1.42.0deprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
Added as development.