client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallToolRaw

func CallToolRaw(ctx context.Context, session *mcp.ClientSession, toolName string, arguments any, meta map[string]any) (map[string]any, error)

CallToolRaw performs a tool call and returns the raw map[string]any result, bypassing the strict SDK unmarshaling that fails on missing "type" fields.

Types

type RPCError added in v0.2.1

type RPCError struct {
	Code    int64
	Message string
	Data    any
}

RPCError representing a JSON-RPC error

func (*RPCError) Error added in v0.2.1

func (e *RPCError) Error() string

Jump to

Keyboard shortcuts

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