Table of Contents

Property RequestTimeout

Namespace
LMKit.Mcp.Transport
Assembly
LM-Kit.NET.dll

RequestTimeout

Gets or sets the timeout for individual JSON-RPC requests.

public TimeSpan RequestTimeout { get; set; }

Property Value

TimeSpan

The maximum time to wait for a response after sending a request. Default is 30 seconds.

Remarks

This timeout applies to the period between sending a request and receiving its corresponding response. It does not affect notifications (which have no response).

For long-running tool calls, consider increasing this value or using progress notifications to keep the connection alive.