Skip to content

allow tools to be renamed #95

Open

Description

@jakelorocco

Tools currently just take the function name. This is necessary for figuring out which tools where actually called by the model. We should allow tools to be renamed and handle the mapping ourselves.

As a part of this, we should consider automatically renaming component tools to componentX.tool_name to avoid conflicts.

Activity

  1. added
    enhancement
    on Aug 26, 2025
  2. psschwei commented on May 12, 2026

    @psschwei
    Contributor

    may already be done, someone should investigate

  3. added
    area/stdlib
    area/tools
    on May 20, 2026
  4. added
    p2
    on Jun 18, 2026
  5. rafvasq commented on Nov 4, 2026

    @rafvasq
    Contributor

    FYI @jakelorocco, looks like you were asked to review this PR a while ago. Will you be able to have a look at it again or should someone else take it on? Thanks!

  6. jakelorocco commented on Nov 4, 2026

    @jakelorocco
    ContributorAuthor

    I think the currently open PR doesn't really address the problem outlined here. The PR causes tools to be prefixed with a component id which was a part of this issue that was flagged as should be considered / investigated. I don't think we actually need that feature (yet). There were larger questions about how component representations get output into the chat and how the model is supposed to know which tools correspond to which component. There's a lot more work that can be done there in terms of creating a consistent programming model / interface. I am actually going to go ahead and close that PR as a result.

    I will un-assign myself from this issue; we can assume going forward that this issue should be to allow tools to be arbitrarily renamed at some point in the tool creation / generation process.

  7. removed their assignment
    on Nov 4, 2026
  8. added
    needs-design
    on Nov 4, 2026
  9. ajbozarth commented on Nov 4, 2026

    @ajbozarth
    Member

    based on jakes comment above I've moved this back to the backlog to be picked up again in the future with new design discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/stdlibarea/toolsenhancementneeds-designp2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions