Forest Admin - API reference
    Preparing search index...
    Index
    tools: RemoteTool<unknown>[]
    • get toolDefinitionsForFrontend(): {
          description: string;
          name: string;
          responseFormat: string;
          schema: JsonSchema7Type;
          sourceId: string;
          sourceType: string;
      }[]

      Returns {
          description: string;
          name: string;
          responseFormat: string;
          schema: JsonSchema7Type;
          sourceId: string;
          sourceType: string;
      }[]

    • Parameters

      • toolName: string
      • messages: ChatCompletionMessageParam[]
      • OptionalsourceId: string

      Returns Promise<unknown>