Agent Client Protocol - v0.5.1
    Preparing search index...

    Interface ReadTextFileRequest

    Reads content from a text file in the client's file system.

    Only available if the client advertises the fs.readTextFile capability. Allows the agent to access file contents within the client's environment.

    See protocol docs: Client

    interface ReadTextFileRequest {
        _meta?: { [k: string]: unknown };
        limit?: number | null;
        line?: number | null;
        path: string;
        sessionId: string;
    }
    Index

    Properties

    _meta?: { [k: string]: unknown }

    Extension point for implementations

    limit?: number | null

    Maximum number of lines to read.

    line?: number | null

    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.