Ping makes an MCP "ping" request to the server.
(ctx context.Context, params *PingParams)
| 965 | |
| 966 | // Ping makes an MCP "ping" request to the server. |
| 967 | func (cs *ClientSession) Ping(ctx context.Context, params *PingParams) error { |
| 968 | _, err := handleSend[*emptyResult](ctx, methodPing, newClientRequest(cs, orZero[Params](params))) |
| 969 | return err |
| 970 | } |
| 971 | |
| 972 | // ListPrompts lists prompts that are currently available on the server. |
| 973 | func (cs *ClientSession) ListPrompts(ctx context.Context, params *ListPromptsParams) (*ListPromptsResult, error) { |
nothing calls this directly
no test coverage detected