{"source":"semconv","version":"1.44.0","attribute":{"id":"gen_ai.tool.definitions","type":"any","stability":"development","brief":"The list of tool definitions available to the GenAI agent or model.","note":"Instrumentations MUST follow [Tool Definitions JSON Schema](https://github.com/open-telemetry/semantic-conventions/blob/v1.41.0/docs/gen-ai/gen-ai-tool-definitions.json).\n\nWhen the attribute is recorded on events, it MUST be recorded in structured\nform. When recorded on spans, it MAY be recorded as a JSON string if structured\nformat is not supported and SHOULD be recorded in structured form otherwise.\n\nSince this attribute could be large, it's NOT RECOMMENDED to populate\nnon-required properties by default. Instrumentations MAY provide a way\nto enable populating optional properties.","examples":["[\n  {\n    \"type\": \"function\",\n    \"name\": \"get_current_weather\",\n    \"description\": \"Get the current weather in a given location\",\n    \"parameters\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"location\": {\n          \"type\": \"string\",\n          \"description\": \"The city and state, e.g. San Francisco, CA\"\n        },\n        \"unit\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"celsius\",\n            \"fahrenheit\"\n          ]\n        }\n      },\n      \"required\": [\n        \"location\",\n        \"unit\"\n      ]\n    }\n  }\n]\n"],"deprecated":{"reason":"uncategorized","note":"Moved to the [OpenTelemetry GenAI semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-genai)."},"namespace":"gen_ai","definedIn":"model/gen-ai/deprecated/registry-deprecated.yaml","usedBy":[{"groupId":"attributes.gen_ai.inference.client","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"attributes.gen_ai.inference.openai_based","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"attributes.gen_ai.invoke_agent.client","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"attributes.gen_ai.invoke_agent.common","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"attributes.gen_ai.invoke_agent.internal","groupType":"attribute_group","requirementLevel":"opt_in"},{"groupId":"event.gen_ai.client.inference.operation.details","groupType":"event","signalName":"gen_ai.client.inference.operation.details","requirementLevel":"opt_in"},{"groupId":"span.anthropic.inference.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.aws.bedrock.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.azure.ai.inference.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.gen_ai.inference.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.gen_ai.invoke_agent.client","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.gen_ai.invoke_agent.internal","groupType":"span","requirementLevel":"opt_in"},{"groupId":"span.openai.inference.client","groupType":"span","requirementLevel":"opt_in"}]},"history":[{"version":"1.38.0","publishedAt":"2025-10-29T20:23:26Z","kind":"first-seen","detail":"Added as development.","severity":"informational"},{"version":"1.42.0","publishedAt":"2026-06-12T21:03:17Z","kind":"deprecated","detail":"Moved to the [OpenTelemetry GenAI semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-genai).","severity":"notable"}],"replaces":[]}