SyncToolRegistry

class SyncToolRegistry(server: <Error class: unknown class>) : ToolRegistry

Registry for tools managed by the MCP sync server.

Provides access to tool names and counts for synchronous execution mode.

Constructors

Link copied to clipboard
constructor(server: <Error class: unknown class>)

Functions

Link copied to clipboard
open override fun getToolCount(): Int

Returns the number of tools registered in the sync server.

Link copied to clipboard
open override fun getToolNames(): List<String>

Returns a list of tool names registered in the sync server.

Link copied to clipboard
open override fun hasToolNamed(name: String): Boolean

Checks if a tool with the given name exists in the sync server.