Briyah SDK - v2.0.18
    Preparing search index...

    Interface ToolHeldDocument

    A document held in an agent's context.

    interface ToolHeldDocument {
        chars: number;
        documentId: string;
        fileName: string;
    }
    Index
    chars: number

    Its size in characters (bytes, for a binary file).

    documentId: string

    The attachment's id — what ToolAgentDocuments.detach takes.

    fileName: string