get_content_from_files

A tool to read the full contents of multiple files.

Arguments

Name
Type
Description
Required

paths_to_files

array

The paths to the files.

require_exists

boolean

If true, all files must exist.

Returns

Type
Description

prompt array

The full contents of the files.

Example

- name: get_content_from_files
  arguments:
    paths_to_files: [<file-path1>, <file-path2>]
  returns: [<file-contents1>, <file-contents2>]

Last updated