Args

@Serializable(with = McpTool.ArgsSerializer::class)
data class Args(val arguments: JsonObject) : Tool.Args(source)

Arguments for an MCP tool call.

This class wraps a JsonObject containing the arguments to be passed to an MCP tool. It's serialized using a custom serializer to handle different encoding formats.

Constructors

Link copied to clipboard
constructor(arguments: JsonObject)

Properties

Link copied to clipboard
val arguments: JsonObject

The JsonObject containing the arguments for the MCP tool.