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

    Interface WriteTextFileRequest

    Writes content to a text file in the client's file system.

    Only available if the client advertises the fs.writeTextFile capability. Allows the agent to create or modify files within the client's environment.

    See protocol docs: Client

    interface WriteTextFileRequest {
        _meta?: { [k: string]: unknown };
        content: string;
        path: string;
        sessionId: string;
    }
    Index

    Properties

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

    Extension point for implementations

    content: string

    The text content to write to the file.

    path: string

    Absolute path to the file to write.

    sessionId: string

    The session ID for this request.