Tool
mcp.schema.McpSchema.Tool
final case class Tool[F[_], T](name: String, description: String, execute: T => F[CallToolResult])(implicit evidence$1: JsonSchema[T], evidence$2: Decoder[T]) extends ToolSchema
Represents a tool that the server provides. Tools enable servers to expose executable functionality to the system. Through these tools, you can interact with external systems, perform computations, and take actions in the real world.
Value parameters
- description
-
A human-readable description of what the tool does. This can be used by clients to improve the LLM's understanding of available tools.
- name
-
A unique identifier for the tool. This name is used when calling the tool.
Attributes
- Source
- McpSchema.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ToolSchemaclass Objecttrait Matchableclass Any
Members list
In this article