GetPlayerInfoTool

class GetPlayerInfoTool(client: ERROR CLASS: Symbol not found for Minecraft) : McpTool(source)

Client-side MCP tool that returns comprehensive player state information.

Constructors

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

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.