tool_execution

package
v0.0.0-...-7ad5d0e Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceType = "tool-call"

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	tool_executionv1alpha1connect.UnimplementedToolExecutionServiceHandler
	// contains filtered or unexported fields
}

Service implements the ToolExecutionService

func New

func New(log *logger.Logger, jobQueue *job_queue.Client, nc *nats.Conn, m *metrics.Metrics, analyticsClient *analytics.Client) (*Service, error)

New creates a new tool execution service

func (*Service) GetToolCall

GetToolCall retrieves a tool call by its ID

func (*Service) NewServiceHandler

func (s *Service) NewServiceHandler(opts ...connect.HandlerOption) (string, http.Handler)

NewServiceHandler returns a connect service path and handler

func (*Service) SubmitToolResult

SubmitToolResult submits a tool execution result

Jump to

Keyboard shortcuts

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