toolspec

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CalculatorName        = "calculator"
	CalculatorDescription = "Perform basic arithmetic calculations. Supports addition, subtraction, multiplication, division, and modulo operations."

	WebSearchName        = "web_search"
	WebSearchDescription = "" /* 226-byte string literal not displayed */

	WebFetchName        = "web_fetch"
	WebFetchDescription = "" /* 134-byte string literal not displayed */

	MessageName        = "message"
	MessageDescription = "Send messages and channel actions. Supports actions: send, delete, react, poll, pin, threads, focus, and more."

	CronName        = "cron"
	CronDescription = "" /* 1460-byte string literal not displayed */

	SessionStatusName        = "session_status"
	SessionStatusDescription = "" /* 209-byte string literal not displayed */

	// ImageName matches OpenClaw's image analysis tool (vision).
	ImageName                  = "image"
	ImageDescription           = "Analyze an image with the configured image model (agents.defaults.imageModel). Provide a prompt and image path or URL."
	ImageDescriptionVisionHint = "" /* 184-byte string literal not displayed */

	// ImageGenerateName is an AI image generation tool (not in OpenClaw).
	ImageGenerateName        = "image_generate"
	ImageGenerateDescription = "" /* 166-byte string literal not displayed */

	TTSName        = "tts"
	TTSDescription = "" /* 129-byte string literal not displayed */

	MemorySearchName        = "memory_search"
	MemorySearchDescription = "" /* 264-byte string literal not displayed */
	MemoryGetName           = "memory_get"
	MemoryGetDescription    = "" /* 204-byte string literal not displayed */

	ReadName         = "read"
	ReadDescription  = "" /* 136-byte string literal not displayed */
	WriteName        = "write"
	WriteDescription = "Write/overwrite file. Creates parent directories."
	EditName         = "edit"
	EditDescription  = "Replace exact text in file. Must match exactly including whitespace. Fails if text appears multiple times or not found."

	GravatarFetchName        = "gravatar_fetch"
	GravatarFetchDescription = "Fetch a Gravatar profile for an email address. You must provide an email address."
	GravatarSetName          = "gravatar_set"
	GravatarSetDescription   = "Set the primary Gravatar profile for this login."

	BeeperDocsName        = "beeper_docs"
	BeeperDocsDescription = "" /* 179-byte string literal not displayed */

	BeeperSendFeedbackName        = "beeper_send_feedback"
	BeeperSendFeedbackDescription = "" /* 153-byte string literal not displayed */
)
View Source
const ApplyPatchDescription = "" /* 132-byte string literal not displayed */

ApplyPatchDescription matches OpenClaw's apply_patch description.

View Source
const ApplyPatchName = "apply_patch"

ApplyPatchName is the name of the apply_patch tool.

Variables

This section is empty.

Functions

func ApplyPatchSchema

func ApplyPatchSchema() map[string]any

ApplyPatchSchema returns the JSON schema for the apply_patch tool.

func BeeperDocsSchema

func BeeperDocsSchema() map[string]any

BeeperDocsSchema returns the JSON schema for the beeper_docs tool.

func BeeperSendFeedbackSchema

func BeeperSendFeedbackSchema() map[string]any

BeeperSendFeedbackSchema returns the JSON schema for the beeper_send_feedback tool.

func BooleanProperty

func BooleanProperty(description string) map[string]any

func CalculatorSchema

func CalculatorSchema() map[string]any

CalculatorSchema returns the JSON schema for the calculator tool.

func CronSchema

func CronSchema() map[string]any

CronSchema returns the JSON schema for the cron tool.

func EditSchema

func EditSchema() map[string]any

EditSchema returns the JSON schema for the edit tool.

func EmptyObjectSchema

func EmptyObjectSchema() map[string]any

func GravatarFetchSchema

func GravatarFetchSchema() map[string]any

GravatarFetchSchema returns the JSON schema for the Gravatar fetch tool.

func GravatarSetSchema

func GravatarSetSchema() map[string]any

GravatarSetSchema returns the JSON schema for the Gravatar set tool.

func ImageGenerateSchema

func ImageGenerateSchema() map[string]any

ImageGenerateSchema returns the JSON schema for the image generation tool.

func ImageSchema

func ImageSchema() map[string]any

ImageSchema returns the JSON schema for the OpenClaw image (vision) tool.

func MemoryGetSchema

func MemoryGetSchema() map[string]any

MemoryGetSchema returns the JSON schema for the memory_get tool.

func MemorySearchSchema

func MemorySearchSchema() map[string]any

MemorySearchSchema returns the JSON schema for the memory_search tool.

func MessageSchema

func MessageSchema() map[string]any

MessageSchema returns the JSON schema for the message tool.

func NumberProperty

func NumberProperty(description string) map[string]any

func ObjectSchema

func ObjectSchema(properties map[string]any, required ...string) map[string]any

func ReadSchema

func ReadSchema() map[string]any

ReadSchema returns the JSON schema for the read tool.

func SessionStatusSchema

func SessionStatusSchema() map[string]any

SessionStatusSchema returns the JSON schema for the session_status tool.

func StringProperty

func StringProperty(description string) map[string]any

func TTSSchema

func TTSSchema() map[string]any

TTSSchema returns the JSON schema for the tts tool.

func WebFetchSchema

func WebFetchSchema() map[string]any

WebFetchSchema returns the JSON schema for the web fetch tool.

func WebSearchSchema

func WebSearchSchema() map[string]any

WebSearchSchema returns the JSON schema for the web search tool.

func WriteSchema

func WriteSchema() map[string]any

WriteSchema returns the JSON schema for the write tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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