textForLLM

open override fun textForLLM(): String(source)

Converts the result to a confirmation message with file metadata.

Renders the writing confirmation in the following format:

  • "Written" confirmation message

  • File path with metadata in parentheses (size, line count if available, "hidden" if the file is hidden)

Return

formatted text representation after writing the file