ExecuteCommandsTool

class ExecuteCommandsTool(client: ERROR CLASS: Symbol not found for Minecraft, config: McpClientConfig) : McpTool(source)

Client-side MCP tool that executes Minecraft commands via the chat handler.

Constructors

Link copied to clipboard
constructor(client: ERROR CLASS: Symbol not found for Minecraft, config: McpClientConfig)

Properties

Link copied to clipboard
open override val description: String

Human-readable description of what this tool does.

Link copied to clipboard
open override val name: String

Tool name as exposed in the MCP tools/list response.

Functions

Link copied to clipboard
open override fun execute(arguments: JsonObject): JsonObject

Executes the tool with the given arguments and returns a result JSON.

Link copied to clipboard
open override fun inputSchema(): JsonObject

Returns the JSON Schema describing the tool's input parameters.