listTools

suspend fun listTools(request: ListToolsRequest = ListToolsRequest(), options: RequestOptions? = null): ListToolsResult?(source)

Lists all available tools on the server.

Return

The list of available tools, or null if none.

Parameters

request

A request object for listing tools (usually empty).

options

Optional request options.

Throws

If the server does not support tools.