moonbitstack/moonmcp/tools does not have a README file
pub(all) struct Tool {
component : ComponentBase
parameters : Json
output_schema : Json?
annotations : ToolAnnotations?
execution : ToolExecution?
timeout : Double?
run_fn : async (Map[String, Json]) -> ToolResult raise FastMCPError
}async fn Tool::dispatch(self : Tool, arguments : Map[String, Json]) -> ToolResult raise FastMCPErrorfn Tool::new(name : String, parameters~ : Json, run_fn~ : async (Map[String, Json]) -> ToolResult raise FastMCPError, version? : String, title? : String, description? : String, icons? : Array[Icon], tags? : Set[String], meta? : Map[String, Json], annotations? : ToolAnnotations, output_schema? : Json, execution? : ToolExecution, timeout? : Double, task_config? : TaskConfig) -> Tool raise FastMCPErrorpub(all) struct ToolResult {
content : Array[ContentBlock]
structured_content : Map[String, Json]?
meta : Map[String, Json]?
is_error : Bool
raw_mcp_result : CallToolResult?
input_required : InputRequiredResult?
} derive(Eq, Debug)fn ToolResult::new(content? : Array[ContentBlock], structured_content? : Map[String, Json], meta? : Map[String, Json], is_error? : Bool) -> ToolResult raise FastMCPErrorfn default_title(name : String) -> Stringfn is_valid_tool_name(name : String) -> Bool