Uses of Interface
dev.tachyonmcp.api.json.JsonSchema
Packages that use JsonSchema
Package
Description
Provider-neutral JSON document and object abstractions.
SPI for pluggable JSON document/schema parsing, loadable via
ServiceLoader.Runtime abstractions for MCP request processing contexts and executors.
Prompt feature types and function interfaces.
Tool feature types and handler interfaces.
JSON serialization and type utilities for MCP server internals.
-
Uses of JsonSchema in dev.tachyonmcp.api.json
Methods in dev.tachyonmcp.api.json that return JsonSchemaModifier and TypeMethodDescriptionstatic <T> JsonSchemaCreates a schema from an already-parsed representation, via theJsonSchemaFactorydiscovered throughServiceLoaderfortype.static JsonSchemaJsonSchema.objectSchema()Returns a schema that accepts any JSON object.static JsonSchemaCreates a schema from encoded JSON.static JsonSchemaCreates a schema from encoded JSON, validating it via theJsonSchemaFactorydiscovered throughServiceLoaderforString.Methods in dev.tachyonmcp.api.json with parameters of type JsonSchemaModifier and TypeMethodDescriptionJsonSchemaValidator.validate(JsonSchema schema, JsonDocument document) Validates the given JSON document against the schema and returns any errors. -
Uses of JsonSchema in dev.tachyonmcp.api.json.spi
Methods in dev.tachyonmcp.api.json.spi that return JsonSchemaModifier and TypeMethodDescriptionJsonSchemaFactory.toJsonSchema(T source) Creates a schema fromsource. -
Uses of JsonSchema in dev.tachyonmcp.api.runtime
Methods in dev.tachyonmcp.api.runtime that return JsonSchemaModifier and TypeMethodDescriptionElicitationRequest.requestedSchema()Returns the value of therequestedSchemarecord component.Constructors in dev.tachyonmcp.api.runtime with parameters of type JsonSchemaModifierConstructorDescriptionElicitationRequest(String message, JsonSchema requestedSchema) Creates an instance of aElicitationRequestrecord class. -
Uses of JsonSchema in dev.tachyonmcp.api.server.features.prompts
Methods in dev.tachyonmcp.api.server.features.prompts that return JsonSchemaModifier and TypeMethodDescription@Nullable JsonSchemaPromptDescriptor.inputSchema()Optional JSON schema describing the prompt's arguments.Methods in dev.tachyonmcp.api.server.features.prompts with parameters of type JsonSchemaModifier and TypeMethodDescriptionPromptDescriptor.Builder.inputSchema(@Nullable JsonSchema inputSchema) Sets the optional JSON schema describing the prompt's arguments.static PromptDescriptorPromptDescriptor.of(String name, @Nullable String description, @Nullable String title, @Nullable List<PromptArgument> arguments, @Nullable JsonSchema inputSchema) Creates a prompt descriptor with the given fields.static PromptDescriptorPromptDescriptor.of(String name, @Nullable String description, @Nullable String title, @Nullable List<PromptArgument> arguments, @Nullable JsonSchema inputSchema, @Nullable List<Icon> icons) Creates a prompt descriptor with the given fields, including icons. -
Uses of JsonSchema in dev.tachyonmcp.api.server.features.tools
Methods in dev.tachyonmcp.api.server.features.tools that return JsonSchemaModifier and TypeMethodDescription@Nullable JsonSchemaToolDescriptor.inputSchema()Optional JSON schema describing the tool's input arguments.@Nullable JsonSchemaToolDescriptor.outputSchema()Optional JSON schema describing the tool's output.Methods in dev.tachyonmcp.api.server.features.tools with parameters of type JsonSchemaModifier and TypeMethodDescriptionToolDescriptor.Builder.inputSchema(@Nullable JsonSchema inputSchema) Sets the optional JSON schema describing the tool's input arguments.ToolDescriptor.Builder.outputSchema(@Nullable JsonSchema outputSchema) Sets the optional JSON schema describing the tool's output. -
Uses of JsonSchema in dev.tachyonmcp.core.server.json
Methods in dev.tachyonmcp.core.server.json that return JsonSchemaModifier and TypeMethodDescriptionJackson3JsonFactory.toJsonSchema(String json) JacksonNodeJsonFactory.toJsonSchema(tools.jackson.databind.JsonNode node) JacksonObjectJsonFactory.toJsonSchema(tools.jackson.databind.node.ObjectNode node) Methods in dev.tachyonmcp.core.server.json with parameters of type JsonSchemaModifier and TypeMethodDescriptionNetworkntJsonSchemaValidator.validate(JsonSchema schema, JsonDocument document) static @Nullable StringJsonSchemaUtils.validateArguments(JsonSchemaValidator validator, @Nullable JsonSchema schema, @Nullable Map<String, tools.jackson.databind.JsonNode> args) Validates args against schema; returns a joined error message, or null when valid / no schema.static voidJsonSchemaUtils.validateSchemaRoot(JsonSchemaFactory<String> factory, String schemaKind, String toolName, @Nullable JsonSchema schema) Validates that a tool schema is well-formed JSON with an object root declaring"type": "object".