buildListToolsRequest

Creates a ListToolsRequest using a type-safe DSL builder.

Optional

  • cursor - Pagination cursor for fetching next page

  • meta - Metadata for the request

Example without pagination:

val request = buildListToolsRequest { }

Example with pagination:

val request = buildListToolsRequest {
cursor = "eyJwYWdlIjogMn0="
}

Return

A configured ListToolsRequest instance

Parameters

block

Configuration lambda for setting up the list tools request

See also