Skip to content

Enable ToolResult Type in Core/AgentChat #4725

@victordibia

Description

@victordibia

Currently, in Core/AgentChat the result of tool execution is mostly cast to a string ...
It would be good to standardize on some type e.g,

  • content
  • attachments
  • mime
  • byte ..

Several benefits

  • We can cast strucutred responses into messages that other agents/teams can "see" .e.g, inform them of artifacts created from tool call.
  • Interfaces like AGS can display such artifacts

How

  • Add toolresult type
  • Update core infra for tool call execution to check for structured output and honor them
  • Update things like AssistantAgent to parse structured output into inner_messages etc?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions