get_content_from_file

A tool to read the full contents of a file.

Arguments

Name
Type
Description
Required

path_to_file

string

The path to the file.

require_exists

boolean

If true, the file must exist.

Returns

Type
Description

prompt

The full contents of the file.

Example

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

Last updated