Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToolHandler ¶
func CreateToolHandler(t *team.Team, agentName, agentFilename string) func(context.Context, *mcp.CallToolRequest, ToolInput) (*mcp.CallToolResult, ToolOutput, error)
func StartMCPServer ¶
Types ¶
type ToolInput ¶
type ToolInput struct {
Message string `json:"message" jsonschema:"the message to send to the agent"`
}
type ToolOutput ¶
type ToolOutput struct {
Response string `json:"response" jsonschema:"the response from the agent"`
}
Click to show internal directories.
Click to hide internal directories.