McpTool

com.jamesward.ziohttp.mcp.McpTool
See theMcpTool companion object
final class McpTool

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def annotations(title: Option[String] = ..., readOnly: OptBool = ..., destructive: OptBool = ..., idempotent: OptBool = ..., openWorld: OptBool = ...): McpTool
def description(d: String): McpTool
def handle[R, E : McpError, In : McpInput, Out : McpOutput](f: In => ZIO[R, E, Out]): McpToolHandlerR[R]
def handle[R, In : McpInput, Out : McpOutput](f: In => ZIO[R, Nothing, Out]): McpToolHandlerR[R]
def handle[R, E : McpError, Out : McpOutput](f: ZIO[R, E, Out]): McpToolHandlerR[R]
def handle[R, Out : McpOutput](f: ZIO[R, Nothing, Out]): McpToolHandlerR[R]
def handleWithContext[R, E : McpError, In : McpInput, Out : McpOutput](f: (In, McpToolContext) => ZIO[R, E, Out]): McpToolHandlerR[R]
def handleWithContext[R, In : McpInput, Out : McpOutput](f: (In, McpToolContext) => ZIO[R, Nothing, Out]): McpToolHandlerR[R]
def handleWithContext[R, E : McpError, Out : McpOutput](f: McpToolContext => ZIO[R, E, Out]): McpToolHandlerR[R]
def handleWithContext[R, Out : McpOutput](f: McpToolContext => ZIO[R, Nothing, Out]): McpToolHandlerR[R]

Concrete fields

val toolDescription: Option[String]