ListToolsResult

data class ListToolsResult(val tools: List<Tool>, val nextCursor: String? = null, val meta: JsonObject? = null) : ServerResult, PaginatedResult(source)

The server's response to a ListToolsRequest from the client.

Returns the available tools along with pagination information if there are more results.

Constructors

Link copied to clipboard
constructor(tools: List<Tool>, nextCursor: String? = null, meta: JsonObject? = null)

Properties

Link copied to clipboard
@SerialName(value = "_meta")
open override val meta: JsonObject?

Optional metadata for this response.

Link copied to clipboard
open override val nextCursor: String?

An opaque token representing the pagination position after the last returned result. If present, there may be more results available. The client can pass this token in a subsequent request to fetch the next page.

Link copied to clipboard

The list of available tools. Each tool includes its name, description, and input schema that defines what arguments it accepts.