get_content_from_file

A tool to read the full contents of a file.

Arguments

NameTypeDescriptionRequired

path_to_file

string

The path to the file.

require_exists

boolean

If true, the file must exist.

Returns

TypeDescription

prompt

The full contents of the file.

Example

- name: get_content_from_file
  arguments:
    path_to_file: <file-path>
  returns: <file-contents>

Last updated