convertToToolSpecifications

open override fun convertToToolSpecifications(toolCallbacks: List<Any>): List<Any>

Converts a list of tool callback objects to async tool specifications.

Filters the provided list for instances of ToolCallback and transforms them into async tool specifications using McpToolUtils.

Return

a list of async tool specifications

Parameters

toolCallbacks

a list of tool callback objects