Skip to content

Tool: Get List of Tools #481

@IvanMurzak

Description

@IvanMurzak
  • All new data models must be implemented locally in the class of the tool.
  • The classes must be public.
  • It must be added into Runtime module of the project. To make it available in Runtime (in-game).

Input arguments

  • string? regexSearch = null - optional argument that should search in list of available tools using their:
    • Name,
    • Description,
    • Argument Name,
    • Argument Description
  • bool? includeDescription = false - optional argument that indicates a need to return a description of each tool
  • InputRequest? includeInputs = InputRequest.None - Enum (None, Inputs, InputsWithDescription)

Returns

Structured C# data model about a tool that has:

  • string Name - required name
  • string? Description - optional description
  • InputData[]? Inputs - class data model

InputData

  • string Name - required name
  • string? Description - optional description

R&D

This tool may also return Json Input / Output schemas of other tools. I am not sure how much helpful it could be, probably not much. But it worth to investigate. My main concern about a very heavy context injection.

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions