Skip to content

Define schema for Tool Definitions for Single and Multi-Agent Spans #2721

@ShipraJain01

Description

@ShipraJain01

Area(s)

area:gen-ai

What's missing?

As a follow-up action item from PR #2702, enhance tool-definitions based on the feedback below -

  1. Define a dedicated JSON schema for the tool_definitions attribute (similar to what we did for completion spans), rather than leaving it as a generic any type

  2. Treat tool definitions as a form of instruction. For models without native tool-calling support, the information in tool_definitions could be incorporated into system instructions, with the model asked to generate JSON accordingly.

Describe the solution you'd like

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Need triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions