Anthropic Attributes

1 attribute in this category.1 deprecated

1 attribute

Deprecated Attributes

These attributes are deprecated and should not be used in new code. See each attribute for migration guidance.

anthropic.tool_result.contentDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The content of the tool result.

Examplesrainy, 57°F

Use gen_ai.tool.call.result instead.

Use gen_ai.tool.call.result for tool results.

Status: backfill

Changelog
v0.26.0#660Added anthropic.tool_result.content attribute, deprecated in favor of gen_ai.tool.call.result
Raw JSON
{
  "key": "anthropic.tool_result.content",
  "brief": "The content of the tool result.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "rainy, 57°F"
  ],
  "deprecation": {
    "replacement": "gen_ai.tool.call.result",
    "reason": "Use gen_ai.tool.call.result for tool results.",
    "_status": "backfill"
  },
  "alias": [
    "gen_ai.tool.call.result",
    "gen_ai.tool.output",
    "gen_ai.tool.message",
    "mcp.tool.result.content",
    "ai.toolCall.result"
  ],
  "changelog": [
    {
      "version": "0.26.0",
      "prs": [
        660
      ],
      "description": "Added anthropic.tool_result.content attribute, deprecated in favor of gen_ai.tool.call.result"
    }
  ]
}