Skip to content

Separate functionLoader per Agent #235

@CaelumF

Description

@CaelumF

Hi! I have an MCP server where the implementation behind the tools depends on some query parameters. So I would have several agents that are using tools that may have the same names and parameters but with different intended implementations (MCP server addresses) behind them.

Is there a way to specify this per agent rather than in the agents() function?

My intuition is that it makes more sense to specify the functions/loaders per agent anyway, rather than selecting which function names to include per agent, though if there's no way of guaranteeing that those implementations would actually be used at function call time then I can see why you wouldn't want to wrongly imply that gaurantee

Happy to clarify anything else about the use case or even jump on a call :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions