GitHub

API reference for Method.

One MCP request or notification (Effect's Rpc.make of it): the method name and the schemas of its params and its result.

Attributes

AttributeTypeDescription
namestr
payload_schemaS.Codec[P_co, Any, Never, Never]
success_schemaS.Codec[A_co, Any, Never, Never]

Functions

__init__

__init__(name, payload_schema, success_schema) -> None
ParameterTypeDescription
namestr
payload_schemaS.Codec[P_co, Any, Never, Never]
success_schemaS.Codec[A_co, Any, Never, Never]