mono/packages/ai-tools/tools.json.md
2025-02-20 14:44:05 +01:00

1.4 KiB

email

  • send_email(?recipient, ?subject, ?body): Sends an email
  • google(query): Searches Google for the given query
  • serpapi(query, ?engine): Searches Serpapi (finds locations (engine:google_local), places on the map (engine:google_maps) ) for the given query

interact

  • send_email(?recipient, ?subject, ?body): Sends an email

fs

  • list_files(directory, ?pattern): List all files in a directory
  • read_files(directory, ?pattern): Reads files in a directory with a given pattern
  • remove_file(path): Remove a file at given path
  • rename_file(?src, ?dst): Rename or move a file or directory
  • modify_project_files(files): Modify existing project files
  • create_file(file): Creates a file, given a path and content
  • file_exists(file): check if a file or folder exists
  • read_file(file): read a file, at given a path

npm

  • build_project(): Build project using pnpm build command
  • run_npm(command, ?args): Run an npm/pnpm command
  • install_dependency(dependencies): Install a dependency using npm

git

  • init_repository(): Initialize a new git repository
  • commit_files_git(files, ?message): Commit files using git

terminal

  • execute_command(command, ?args, ?cwd, ?background, ?window, ?detached): Execute a terminal command and capture output

Preferred order:

  1. create/modify files, using modify_project_files for multiple files at once
  2. install dependencies
  3. excecute tools
  4. create documentation
  5. init git, add to git