Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias SuggestNesRequest

    Request for a code suggestion.

    type SuggestNesRequest = {
        sessionId: SessionId;
        uri: string;
        version: number;
        position: Position;
        selection?: Range | null;
        triggerKind: NesTriggerKind;
        context?: NesSuggestContext | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The session ID for this request.

    uri: string

    The URI of the document to suggest for.

    version: number

    The version number of the document.

    position: Position

    The current cursor position.

    selection?: Range | null

    The current text selection range, if any.

    triggerKind: NesTriggerKind

    What triggered this suggestion request.

    context?: NesSuggestContext | null

    Context for the suggestion, included based on agent capabilities.

    _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