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

    Type Alias ReadTextFileRequest

    Request to read content from a text file.

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

    type ReadTextFileRequest = {
        sessionId: SessionId;
        path: string;
        line?: number | null;
        limit?: number | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Properties

    sessionId: SessionId

    The session ID for this request.

    path: string

    Absolute path to the file to read.

    line?: number | null

    Line number to start reading from (1-based).

    limit?: number | null

    Maximum number of lines to read.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility