Agent Client Protocol - v0.12.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 = {
        _meta?: { [key: string]: unknown } | null;
        limit?: number | null;
        line?: number | null;
        path: string;
        sessionId: SessionId;
    }
    Index

    Properties

    _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

    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: SessionId

    The session ID for this request.