Package io.modelcontextprotocol.spec
Class McpSchema.Tool.Builder
java.lang.Object
io.modelcontextprotocol.spec.McpSchema.Tool.Builder
- Enclosing class:
- McpSchema.Tool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations(McpSchema.ToolAnnotations annotations) build()description(String description) icons(List<McpSchema.Icon> icons) inputSchema(McpJsonMapper jsonMapper, String inputSchema) inputSchema(McpSchema.JsonSchema inputSchema) Deprecated.useinputSchema(Map)instead.inputSchema(Map<String, Object> inputSchema) outputSchema(McpJsonMapper jsonMapper, String outputSchema) outputSchema(Map<String, Object> outputSchema)
-
Constructor Details
-
Builder
Deprecated.UseMcpSchema.Tool.builder(String, Map)instead.
-
-
Method Details
-
name
-
title
-
description
-
inputSchema
Deprecated.useinputSchema(Map)instead. -
inputSchema
-
inputSchema
-
outputSchema
-
outputSchema
-
annotations
-
icons
-
meta
-
build
-
McpSchema.Tool.builder(String, Map)instead.