Tools

interface Tools

List and interact with Tools provided by this MCP server

Inheritors

Functions

Link copied to clipboard
abstract fun call(name: ToolName, request: ToolRequest = ToolRequest(), overrideDefaultTimeout: Duration? = null): McpResult<ToolResponse>
Link copied to clipboard
abstract fun list(overrideDefaultTimeout: Duration? = null): McpResult<List<McpTool>>
Link copied to clipboard
abstract fun onChange(fn: () -> Unit)