ListToolsResult

@Serializable
class ListToolsResult(val tools: List<Tool>, val nextCursor: Cursor?, val _meta: JsonObject = EmptyJsonObject) : ServerResult, PaginatedResult(source)

The server's response to a tools/list request from the client.

Constructors

Link copied to clipboard
constructor(tools: List<Tool>, nextCursor: Cursor?, _meta: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard
open override val nextCursor: Cursor?

An opaque token representing the pagination position after the last returned result. If present, there may be more results available.

Link copied to clipboard