MCPcopy Create free account
hub / github.com/53AI/53AIHub / executePrepareInputFile

Function executePrepareInputFile

api/service/tools/executor.go:991–993  ·  view source on GitHub ↗
(ctx context.Context, args map[string]interface{})

Source from the content-addressed store, hash-verified

989}
990
991func executePrepareInputFile(ctx context.Context, args map[string]interface{}) (*ToolResult, error) {
992 return executeWriteFileWithPathNormalizer(ctx, args, normalizeSandboxInputPath, "prepare_input_file")
993}
994
995func executeWriteFileWithPathNormalizer(ctx context.Context, args map[string]interface{}, normalizePath func(string) (string, error), toolName string) (*ToolResult, error) {
996 path, ok := args["path"].(string)

Callers 2

ExecuteToolWithResultFunction · 0.85
ExecuteToolStreamFunction · 0.85

Calls 1

Tested by

no test coverage detected