get_file_name

A tool to get the filename from a given file path.

Arguments

Returns

Example

- name: get_file_name
  arguments:
    path_to_file: <file-path>
    include_extension: <true-or-false>
  returns: <filename>

Last updated