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

    Interface KillTerminalCommandRequest

    Kills the terminal command without releasing the terminal

    While terminal/release will also kill the command, this method will keep the TerminalId valid so it can be used with other methods.

    This method can be helpful when implementing command timeouts which terminate the command as soon as elapsed, and then get the final output so it can be sent to the model.

    Note: terminal/release when TerminalId is no longer needed.

    See protocol docs: Terminals

    interface KillTerminalCommandRequest {
        _meta?: { [k: string]: unknown };
        sessionId: string;
        terminalId: string;
    }
    Index

    Properties

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

    Extension point for implementations

    sessionId: string

    The session ID for this request.

    terminalId: string

    The ID of the terminal to kill.