currenttime

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentTime

type CurrentTime struct{}

CurrentTime returns the current date and time. Useful when the user asks "what time is it" or "what's the date".

func New

func New() *CurrentTime

New returns a new CurrentTime tool.

func (*CurrentTime) Description

func (*CurrentTime) Description() string

func (*CurrentTime) DisplayName added in v0.1.4

func (*CurrentTime) DisplayName() string

func (*CurrentTime) Execute

func (*CurrentTime) Execute(ctx context.Context, args map[string]any) (any, error)

func (*CurrentTime) Name

func (*CurrentTime) Name() string

func (*CurrentTime) Parameters

func (*CurrentTime) Parameters() interfaces.JSONSchema

Jump to

Keyboard shortcuts

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