Agent Client Protocol - v0.2.0-alpha.8
    Preparing search index...

    Interface ReadTextFileRequest

    Request to read content from a text file.

    Only available if the client supports the fs.readTextFile capability.

    interface ReadTextFileRequest {
        limit?: null | number;
        line?: null | number;
        path: string;
        sessionId: string;
    }
    Index

    Properties

    limit?: null | number

    Optional maximum number of lines to read.

    line?: null | number

    Optional line number to start reading from (1-based).

    path: string

    Absolute path to the file to read.

    sessionId: string

    The session ID for this request.