validate_typescript_project

A tool to validate that a typescript project is valid. It will run the typescript compiler and feed the errors back to the LLM to fix.

Arguments

Name
Type
Description
Required

directory

string

The directory to run the typescript compiler in.

max_context_depth

number

The maximum depth to get the context of the file to fix.

max_tries

number

The maximum number of times to try and fix the file.If the file is not fixed after max_tries, the tool will give up on this file.

Returns

Type
Description

null

This tool does not return anything.

Example

- name: validate_typescript_project
  arguments:
    directory: 'src'
    max_context_depth: 3
    max_tries: 3

Last updated