1// Package server defines the MCP tool parameter types for the SilverBullet server.
2package server
3
4// ExecuteLuaParams defines parameters for the execute_lua tool.
5type ExecuteLuaParams struct {
6 Script string `json:"script" jsonschema:"The Space Lua script to execute. Use 'return' to send results back."`
7 Timeout int `json:"timeout,omitempty" jsonschema:"Maximum execution time in seconds (1-21600,default=120)"`
8}
9
10// ScreenshotParams defines parameters for the screenshot tool.
11type ScreenshotParams struct{}
12
13// ConsoleLogsParams defines parameters for the console_logs tool.
14type ConsoleLogsParams struct {
15 Limit int `json:"limit,omitempty" jsonschema:"Maximum number of log entries to return (1-1000,default=100)"`
16 Since int64 `json:"since,omitempty" jsonschema:"Only return entries newer than this unix millisecond timestamp (optional)"`
17}