// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
//
// SPDX-License-Identifier: LicenseRef-MutuaL-1.2

// Package server defines the MCP tool parameter types for the SilverBullet server.
package server

// ExecuteLuaParams defines parameters for the execute_lua tool.
type ExecuteLuaParams struct {
	Script  string `json:"script"  jsonschema:"The Space Lua script to execute. Use 'return' to send results back."`
	Timeout int    `json:"timeout,omitempty"  jsonschema:"Maximum execution time in seconds (1-21600,default=120)"`
}

// ScreenshotParams defines parameters for the screenshot tool.
type ScreenshotParams struct{}

// ConsoleLogsParams defines parameters for the console_logs tool.
type ConsoleLogsParams struct {
	Limit int   `json:"limit,omitempty"  jsonschema:"Maximum number of log entries to return (1-1000,default=100)"`
	Since int64 `json:"since,omitempty"  jsonschema:"Only return entries newer than this unix millisecond timestamp (optional)"`
}

// UsageParams is empty because there are none :D .
type UsageParams struct{}
