tools

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package tools defines the MCP tools for agentcall.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTools

func RegisterTools(rt *mcpkit.Runtime, manager *callmanager.Manager)

RegisterTools registers all MCP tools with the runtime.

Types

type ContinueCallInput

type ContinueCallInput struct {
	CallID  string `json:"call_id"`
	Message string `json:"message"`
}

ContinueCallInput is the input for the continue_call tool.

type ContinueCallOutput

type ContinueCallOutput struct {
	Response string `json:"response"`
}

ContinueCallOutput is the output of the continue_call tool.

type EndCallInput

type EndCallInput struct {
	CallID  string `json:"call_id"`
	Message string `json:"message,omitempty"`
}

EndCallInput is the input for the end_call tool.

type EndCallOutput

type EndCallOutput struct {
	DurationSeconds float64 `json:"duration_seconds"`
}

EndCallOutput is the output of the end_call tool.

type InitiateCallInput

type InitiateCallInput struct {
	Message string `json:"message"`
}

InitiateCallInput is the input for the initiate_call tool.

type InitiateCallOutput

type InitiateCallOutput struct {
	CallID   string `json:"call_id"`
	Response string `json:"response"`
}

InitiateCallOutput is the output of the initiate_call tool.

type SpeakToUserInput

type SpeakToUserInput struct {
	CallID  string `json:"call_id"`
	Message string `json:"message"`
}

SpeakToUserInput is the input for the speak_to_user tool.

type SpeakToUserOutput

type SpeakToUserOutput struct {
	Success bool `json:"success"`
}

SpeakToUserOutput is the output of the speak_to_user tool.

Jump to

Keyboard shortcuts

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