Create a getDefinition version that can filter on tool id or tools interfaces being used.

Created on 11 June 2025, about 1 month ago

Problem/Motivation

There will be applications that wants to use only agents that output specific tools to get structured output from them.

Think for instance of an agent that does FieldValidation, we might have a FieldValidationToolInterface that has to have a method that is validationResult and a method that is validationReasoning. Or a tool with those methods.

Any agent that would use this tool could work as a field validation agent.

When you setup the field validation rule for this, you only want to show agents that are utilizing this tool or toolinterface, and no other agents.

Steps to reproduce

Proposed resolution

  • On the plugin manager for loading agents create a public method for getting definitions of config AI Agents that are either using a specific tool id or that are using tools of a specific interface. The method can use class_exists to know what it is dealing with and have one unified string input.
  • Use the normal getDefinitions and filter out and config agent and then filter on the tool or method wanted.
    • Remaining tasks

      User interface changes

      API changes

      Data model changes

📌 Task
Status

Active

Version

1.2

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024