Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type I2CTool ¶
type I2CTool struct{}
I2CTool provides I2C bus interaction for reading sensors and controlling peripherals.
func NewI2CTool ¶
func NewI2CTool() *I2CTool
func (*I2CTool) Description ¶
func (*I2CTool) Parameters ¶
type SPITool ¶
type SPITool struct{}
SPITool provides SPI bus interaction for high-speed peripheral communication.
func NewSPITool ¶
func NewSPITool() *SPITool
func (*SPITool) Description ¶
func (*SPITool) Parameters ¶
type SerialTool ¶ added in v0.2.8
type SerialTool struct{}
func NewSerialTool ¶ added in v0.2.8
func NewSerialTool() *SerialTool
func (*SerialTool) Description ¶ added in v0.2.8
func (t *SerialTool) Description() string
func (*SerialTool) Execute ¶ added in v0.2.8
func (t *SerialTool) Execute(ctx context.Context, args map[string]any) *ToolResult
func (*SerialTool) Name ¶ added in v0.2.8
func (t *SerialTool) Name() string
func (*SerialTool) Parameters ¶ added in v0.2.8
func (t *SerialTool) Parameters() map[string]any
type ToolResult ¶
type ToolResult = toolshared.ToolResult
func ErrorResult ¶
func ErrorResult(message string) *ToolResult
func SilentResult ¶
func SilentResult(forLLM string) *ToolResult
Click to show internal directories.
Click to hide internal directories.