cli

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPromptTable

func FormatPromptTable(prompts []*mcp.Prompt) string

FormatPromptTable renders a table of prompts with name, description, and arguments.

func FormatResourceTable

func FormatResourceTable(resources []*mcp.Resource) string

FormatResourceTable renders a table of resources with URI, description, and MIME type.

func FormatToolTable

func FormatToolTable(tools []*mcp.Tool) string

FormatToolTable renders a table of tools with name, description, and parameters.

func RunTestCall

func RunTestCall(ctx context.Context, file, toolName, argsJSON, format string, showTrace bool) error

RunTestCall starts the engine, calls the specified tool, and prints the result.

func RunTestList

func RunTestList(ctx context.Context, file, format string) error

RunTestList starts the engine for the given file, lists tools/resources/prompts, and prints output in the specified format ("text" or "json").

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL