Crate magi_tool

Crate magi_tool 

Source

Macros§

define_tool

Structs§

AddNullable
CallToolResult
The result of a tool call operation.
PegBoard
PegBoard manages tool registration and their associated MCP services with namespace support.
Tool
Tool schema definition for function calling. Compatible with Claude’s tool format.

Enums§

PegBoardError
Errors that can occur when working with PegBoard
ToolError
Error type for tool creation and schema parsing

Functions§

get_tool
parse_input_schema
prefix_tool_name
Creates a namespaced tool name by combining namespace and tool name with :: separator.