CallToolRequest

mcp.schema.McpSchema.CallToolRequest
See theCallToolRequest companion object
final case class CallToolRequest(name: String, arguments: Json) extends Request

Used by the client to call a tool provided by the server.

Value parameters

arguments

Arguments to pass to the tool. These must conform to the tool's input schema.

name

The name of the tool to call. This must match a tool name from tools/list.

Attributes

Companion
object
Source
McpSchema.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Request
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product