Documentation
¶
Index ¶
- Constants
- func ApplyPatchSchema() map[string]any
- func BeeperDocsSchema() map[string]any
- func BeeperSendFeedbackSchema() map[string]any
- func BooleanProperty(description string) map[string]any
- func BoundedNumberProperty(description string, minimum, maximum float64) map[string]any
- func CalculatorSchema() map[string]any
- func CronSchema() map[string]any
- func EditSchema() map[string]any
- func EmptyObjectSchema() map[string]any
- func GravatarFetchSchema() map[string]any
- func GravatarSetSchema() map[string]any
- func ImageGenerateSchema() map[string]any
- func ImageSchema() map[string]any
- func MemoryGetSchema() map[string]any
- func MemorySearchSchema() map[string]any
- func MessageSchema() map[string]any
- func NumberProperty(description string) map[string]any
- func ObjectSchema(properties map[string]any, required ...string) map[string]any
- func ReadSchema() map[string]any
- func SessionStatusSchema() map[string]any
- func StringArrayProperty(description string) map[string]any
- func StringEnumProperty(description string, enumValues []string) map[string]any
- func StringProperty(description string) map[string]any
- func TTSSchema() map[string]any
- func WebFetchSchema() map[string]any
- func WebSearchSchema() map[string]any
- func WriteSchema() map[string]any
Constants ¶
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 */ )
const ApplyPatchDescription = "" /* 132-byte string literal not displayed */
ApplyPatchDescription matches OpenClaw's apply_patch description.
const ApplyPatchName = "apply_patch"
ApplyPatchName is the name of the apply_patch tool.
Variables ¶
This section is empty.
Functions ¶
func ApplyPatchSchema ¶
ApplyPatchSchema returns the JSON schema for the apply_patch tool.
func BeeperDocsSchema ¶
BeeperDocsSchema returns the JSON schema for the beeper_docs tool.
func BeeperSendFeedbackSchema ¶
BeeperSendFeedbackSchema returns the JSON schema for the beeper_send_feedback tool.
func BooleanProperty ¶
func BoundedNumberProperty ¶ added in v0.0.3
func CalculatorSchema ¶
CalculatorSchema returns the JSON schema for the calculator tool.
func CronSchema ¶
CronSchema returns the JSON schema for the cron tool.
func EditSchema ¶
EditSchema returns the JSON schema for the edit tool.
func EmptyObjectSchema ¶
func GravatarFetchSchema ¶
GravatarFetchSchema returns the JSON schema for the Gravatar fetch tool.
func GravatarSetSchema ¶
GravatarSetSchema returns the JSON schema for the Gravatar set tool.
func ImageGenerateSchema ¶
ImageGenerateSchema returns the JSON schema for the image generation tool.
func ImageSchema ¶
ImageSchema returns the JSON schema for the OpenClaw image (vision) tool.
func MemoryGetSchema ¶
MemoryGetSchema returns the JSON schema for the memory_get tool.
func MemorySearchSchema ¶
MemorySearchSchema returns the JSON schema for the memory_search tool.
func MessageSchema ¶
MessageSchema returns the JSON schema for the message tool.
func NumberProperty ¶
func ReadSchema ¶
ReadSchema returns the JSON schema for the read tool.
func SessionStatusSchema ¶
SessionStatusSchema returns the JSON schema for the session_status tool.
func StringArrayProperty ¶ added in v0.0.3
func StringEnumProperty ¶ added in v0.0.3
func StringProperty ¶
func WebFetchSchema ¶
WebFetchSchema returns the JSON schema for the web fetch tool.
func WebSearchSchema ¶
WebSearchSchema returns the JSON schema for the web search tool.
func WriteSchema ¶
WriteSchema returns the JSON schema for the write tool.
Types ¶
This section is empty.