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

    Type Alias WriteTextFileRequest

    Request to write content to a text file.

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

    type WriteTextFileRequest = {
        _meta?: { [key: string]: unknown } | null;
        content: string;
        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

    content: string

    The text content to write to the file.

    path: string

    Absolute path to the file to write.

    sessionId: SessionId

    The session ID for this request.