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

    Properties

    sessionId: SessionId

    The session ID for this request.

    path: string

    Absolute path to the file to write.

    content: string

    The text content to write to the file.

    _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